class TcpClient


Module soprano
Namespace Soprano::Client
Class TcpClient
Inherits QObject,Soprano::Error::ErrorCache
\class TcpClient tcpclient.h Soprano/Client/TcpClient

Creates a connection to the %Soprano server through a TCP connection.

The %Soprano server supports more than one way of communication. Beside D-Bus (see DBusClient) and local socket communication (LocalSocketClient) it can be contacted via TCP. For that to work the server has to be listening on some port (Server.ServerCore.listen).

The TcpClient does not support signals. Thus, the models created by it will not emit signals such as Model.statementAdded. Also no permission handling or any kind of security is implemented at the moment. Thus, if a server is running and is listening on a port, it is open to connections from any client on any computer in the network.

Author Sebastian Trueg



methods