12 #ifndef CTKNETWORKCONNECTOR_H
13 #define CTKNETWORKCONNECTOR_H
27 Q_PROPERTY(QString protocol READ protocol);
34 virtual void createClient(
const QString hostName,
const unsigned int port) = 0;
virtual void initializeForEventBus()=0
register all the signals and slots
void remoteCommunication(const QString event_id, ctkEventArgumentsList *argList)
signal for send a message to through network
ctkNetworkConnector()
object constructor.
QString m_Protocol
define the protocol of the connector (xmlrpc, soap, etc...)
virtual void startListen()=0
Start the server.
virtual ctkNetworkConnector * clone()=0
retrieve an instance of the object
virtual void createClient(const QString hostName, const unsigned int port)=0
create the unique instance of the client.
virtual void createServer(const unsigned int port)=0
create the unique instance of the server.
QString protocol()
retrieve the protocol type of the connector
virtual void send(const QString event_id, ctkEventArgumentsList *argList)=0
Allow to send a network request.