![]() |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
#include <Plugins/org.commontk.eventbus/ctkNetworkConnector.h>
Signals | |
void | remoteCommunication (const QString event_id, ctkEventArgumentsList *argList) |
signal for send a message to through network More... | |
Public Member Functions | |
virtual ctkNetworkConnector * | clone ()=0 |
retrieve an instance of the object More... | |
virtual void | createClient (const QString hostName, const unsigned int port)=0 |
create the unique instance of the client. More... | |
virtual void | createServer (const unsigned int port)=0 |
create the unique instance of the server. More... | |
ctkNetworkConnector () | |
object constructor. More... | |
virtual void | initializeForEventBus ()=0 |
register all the signals and slots More... | |
QString | protocol () |
retrieve the protocol type of the connector More... | |
virtual void | send (const QString event_id, ctkEventArgumentsList *argList)=0 |
Allow to send a network request. More... | |
virtual void | startListen ()=0 |
Start the server. More... | |
Protected Attributes | |
QString | m_Protocol |
define the protocol of the connector (xmlrpc, soap, etc...) More... | |
Properties | |
QString | protocol |
Class name: ctkNetworkConnector This class is the interface class for client/server objects that works over network.
Definition at line 24 of file ctkNetworkConnector.h.
ctkEventBus::ctkNetworkConnector::ctkNetworkConnector | ( | ) |
object constructor.
|
pure virtual |
retrieve an instance of the object
Implemented in ctkEventBus::ctkNetworkConnectorZeroMQ, ctkEventBus::ctkNetworkConnectorQXMLRPC, and ctkEventBus::ctkNetworkConnectorQtSoap.
|
pure virtual |
create the unique instance of the client.
Implemented in ctkEventBus::ctkNetworkConnectorZeroMQ, ctkEventBus::ctkNetworkConnectorQXMLRPC, and ctkEventBus::ctkNetworkConnectorQtSoap.
|
pure virtual |
create the unique instance of the server.
Implemented in ctkEventBus::ctkNetworkConnectorZeroMQ, ctkEventBus::ctkNetworkConnectorQXMLRPC, and ctkEventBus::ctkNetworkConnectorQtSoap.
|
pure virtual |
register all the signals and slots
Implemented in ctkEventBus::ctkNetworkConnectorZeroMQ, ctkEventBus::ctkNetworkConnectorQXMLRPC, and ctkEventBus::ctkNetworkConnectorQtSoap.
QString ctkEventBus::ctkNetworkConnector::protocol | ( | ) |
retrieve the protocol type of the connector
|
signal |
signal for send a message to through network
|
pure virtual |
Allow to send a network request.
Implemented in ctkEventBus::ctkNetworkConnectorQtSoap, and ctkEventBus::ctkNetworkConnectorZeroMQ.
|
pure virtual |
Start the server.
Implemented in ctkEventBus::ctkNetworkConnectorZeroMQ, ctkEventBus::ctkNetworkConnectorQXMLRPC, and ctkEventBus::ctkNetworkConnectorQtSoap.
|
protected |
define the protocol of the connector (xmlrpc, soap, etc...)
Definition at line 59 of file ctkNetworkConnector.h.
|
read |
Definition at line 1 of file ctkNetworkConnector.h.