![]() |
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/ctkNetworkConnectorQtSoap.h>
Public Slots | |
void | registerServerMethod (QString methodName, QList< QVariant::Type > types) |
register methods on the server 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 | |
virtual 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... | |
ctkNetworkConnectorQtSoap () | |
object constructor. More... | |
void | initializeForEventBus () |
register all the signalsand slots More... | |
QtSoapType * | marshall (const QString name, const QVariant ¶meter) |
Marshalling of the datatypes. More... | |
void | registerNamespace (QString prefix, QString namespaceURI) |
register a further namespace which will be used in soap 1.1 for axis2 compatibility More... | |
QtSoapType * | response () |
return the response retrieved from the service More... | |
void | send (const QString methodName, ctkEventArgumentsList *argList) |
Allow to send a network request. More... | |
void | setAction (const QString action) |
set the action for the http transport More... | |
void | setPath (const QString path) |
set the path, for example the end point or the wsdl More... | |
void | setWSDL (const QString wsdlUrl) |
set the url of the wsdl for querying the service. More... | |
void | startListen () |
Start the server. More... | |
~ctkNetworkConnectorQtSoap () | |
object destructor. More... | |
![]() | |
ctkNetworkConnector () | |
object constructor. More... | |
QString | protocol () |
retrieve the protocol type of the connector More... | |
Additional Inherited Members | |
![]() | |
QString | m_Protocol |
define the protocol of the connector (xmlrpc, soap, etc...) More... | |
![]() | |
QString | protocol |
Class name: ctkNetworkConnectorQtSoap This class is the implementation class for client/server objects that works over network with soap protocol. It has been implemented only client side.
Definition at line 28 of file ctkNetworkConnectorQtSoap.h.
ctkEventBus::ctkNetworkConnectorQtSoap::ctkNetworkConnectorQtSoap | ( | ) |
object constructor.
ctkEventBus::ctkNetworkConnectorQtSoap::~ctkNetworkConnectorQtSoap | ( | ) |
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 signalsand slots
Implements ctkEventBus::ctkNetworkConnector.
QtSoapType* ctkEventBus::ctkNetworkConnectorQtSoap::marshall | ( | const QString | name, |
const QVariant & | parameter | ||
) |
Marshalling of the datatypes.
|
signal |
signal for the registration of the functions with parameters
|
inline |
register a further namespace which will be used in soap 1.1 for axis2 compatibility
Definition at line 120 of file ctkNetworkConnectorQtSoap.h.
|
slot |
register methods on the server
|
inline |
return the response retrieved from the service
Definition at line 116 of file ctkNetworkConnectorQtSoap.h.
|
virtual |
Allow to send a network request.
Need to convert the parameter list into another list of basic type to string which are used in QtSoap.
Implements ctkEventBus::ctkNetworkConnector.
|
inline |
set the action for the http transport
Definition at line 108 of file ctkNetworkConnectorQtSoap.h.
|
inline |
set the path, for example the end point or the wsdl
Definition at line 112 of file ctkNetworkConnectorQtSoap.h.
|
inline |
set the url of the wsdl for querying the service.
Definition at line 104 of file ctkNetworkConnectorQtSoap.h.
|
virtual |
Start the server.
Implements ctkEventBus::ctkNetworkConnector.