![]() |
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/ctkNetworkConnectorZeroMQ.h>
Public Member Functions | |
ctkNetworkConnector * | clone () |
retrieve an instance of the object More... | |
void | createClient (const QString hostName, const unsigned int port) |
create the unique instance of the client. More... | |
void | createServer (const unsigned int port) |
create the unique instance of the server. More... | |
ctkNetworkConnectorZeroMQ () | |
object constructor. More... | |
void | initializeForEventBus () |
register all the signals and slots More... | |
void | send (const QString event_id, ctkEventArgumentsList *argList) |
Allow to send a network request. More... | |
void | startListen () |
Start the server. More... | |
~ctkNetworkConnectorZeroMQ () | |
object destructor. More... | |
![]() | |
ctkNetworkConnector () | |
object constructor. More... | |
QString | protocol () |
retrieve the protocol type of the connector More... | |
Additional Inherited Members | |
![]() | |
void | remoteCommunication (const QString event_id, ctkEventArgumentsList *argList) |
signal for send a message to through network More... | |
![]() | |
QString | m_Protocol |
define the protocol of the connector (xmlrpc, soap, etc...) More... | |
![]() | |
QString | protocol |
Class name: ctkNetworkConnectorZeroMQ This class is the implementation class for client/server objects that works over network with xml-rpc protocol. The server side part also create a new ID named REGISTER_SERVER_METHODS_XXX (where the XXX is the port on which run the server) that allows you to register your own remote callbacks. The library used is qxmlrpc.
Definition at line 27 of file ctkNetworkConnectorZeroMQ.h.
ctkEventBus::ctkNetworkConnectorZeroMQ::ctkNetworkConnectorZeroMQ | ( | ) |
object constructor.
ctkEventBus::ctkNetworkConnectorZeroMQ::~ctkNetworkConnectorZeroMQ | ( | ) |
object destructor.
|
virtual |
retrieve an instance of the object
Implements ctkEventBus::ctkNetworkConnector.
|
virtual |
create the unique instance of the client.
Implements ctkEventBus::ctkNetworkConnector.
|
virtual |
create the unique instance of the server.
Implements ctkEventBus::ctkNetworkConnector.
|
virtual |
register all the signals and slots
Implements ctkEventBus::ctkNetworkConnector.
|
virtual |
Allow to send a network request.
Contains the conversion between maf datatypes and qxmlrpc datatype based both on QVariant.
Implements ctkEventBus::ctkNetworkConnector.
|
virtual |
Start the server.
Implements ctkEventBus::ctkNetworkConnector.