![]() |
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/ctkNetworkConnectorQXMLRPC.h>
Public Slots | |
void | registerServerMethod (mafRegisterMethodsMap registerMethodsList) |
register methods on the server More... | |
void | send (const QString event_id, ctkEventArgumentsList *argList) |
Allow to send a network request. More... | |
Signals | |
void | registerMethodsServer (mafRegisterMethodsMap registerMethodsList) |
signal for the registration of the functions with parameters More... | |
![]() | |
void | remoteCommunication (const QString event_id, ctkEventArgumentsList *argList) |
signal for send a message to through network More... | |
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... | |
ctkNetworkConnectorQXMLRPC () | |
object constructor. More... | |
void | initializeForEventBus () |
register all the signals and slots More... | |
void | startListen () |
Start the server. More... | |
~ctkNetworkConnectorQXMLRPC () | |
object destructor. More... | |
![]() | |
ctkNetworkConnector () | |
object constructor. 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... | |
Protected Attributes | |
xmlrpc::Client * | m_Client |
xml-rpc client provided by qxmlrpc library More... | |
xmlrpc::Server * | m_Server |
xml-rpc server provided by qxmlrpc library More... | |
![]() | |
QString | m_Protocol |
define the protocol of the connector (xmlrpc, soap, etc...) More... | |
Additional Inherited Members | |
![]() | |
QString | protocol |
Class name: ctkNetworkConnectorQXMLRPC 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 31 of file ctkNetworkConnectorQXMLRPC.h.
ctkEventBus::ctkNetworkConnectorQXMLRPC::ctkNetworkConnectorQXMLRPC | ( | ) |
object constructor.
ctkEventBus::ctkNetworkConnectorQXMLRPC::~ctkNetworkConnectorQXMLRPC | ( | ) |
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.
|
signal |
signal for the registration of the functions with parameters
|
slot |
register methods on the server
|
slot |
Allow to send a network request.
Contains the conversion between maf datatypes and qxmlrpc datatype based both on QVariant.
|
virtual |
Start the server.
Implements ctkEventBus::ctkNetworkConnector.
|
protected |
xml-rpc client provided by qxmlrpc library
Definition at line 80 of file ctkNetworkConnectorQXMLRPC.h.
|
protected |
xml-rpc server provided by qxmlrpc library
Definition at line 81 of file ctkNetworkConnectorQXMLRPC.h.