CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Slots | Signals | Public Member Functions | List of all members
ctkEventBus::ctkNetworkConnectorQtSoap Class Reference

#include <Plugins/org.commontk.eventbus/ctkNetworkConnectorQtSoap.h>

Inheritance diagram for ctkEventBus::ctkNetworkConnectorQtSoap:
Inheritance graph
[legend]
Collaboration diagram for ctkEventBus::ctkNetworkConnectorQtSoap:
Collaboration graph
[legend]

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...
 
- Signals inherited from ctkEventBus::ctkNetworkConnector
void remoteCommunication (const QString event_id, ctkEventArgumentsList *argList)
 signal for send a message to through network More...
 

Public Member Functions

virtual ctkNetworkConnectorclone ()
 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 &parameter)
 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...
 
- Public Member Functions inherited from ctkEventBus::ctkNetworkConnector
 ctkNetworkConnector ()
 object constructor. More...
 
QString protocol ()
 retrieve the protocol type of the connector More...
 

Additional Inherited Members

- Protected Attributes inherited from ctkEventBus::ctkNetworkConnector
QString m_Protocol
 define the protocol of the connector (xmlrpc, soap, etc...) More...
 
- Properties inherited from ctkEventBus::ctkNetworkConnector
QString protocol
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ctkNetworkConnectorQtSoap()

ctkEventBus::ctkNetworkConnectorQtSoap::ctkNetworkConnectorQtSoap ( )

object constructor.

◆ ~ctkNetworkConnectorQtSoap()

ctkEventBus::ctkNetworkConnectorQtSoap::~ctkNetworkConnectorQtSoap ( )

object destructor.

Member Function Documentation

◆ clone()

virtual ctkNetworkConnector* ctkEventBus::ctkNetworkConnectorQtSoap::clone ( )
virtual

retrieve an instance of the object

Implements ctkEventBus::ctkNetworkConnector.

◆ createClient()

void ctkEventBus::ctkNetworkConnectorQtSoap::createClient ( const QString  hostName,
const unsigned int  port 
)
virtual

create the unique instance of the client.

Implements ctkEventBus::ctkNetworkConnector.

◆ createServer()

void ctkEventBus::ctkNetworkConnectorQtSoap::createServer ( const unsigned int  port)
virtual

create the unique instance of the server.

Implements ctkEventBus::ctkNetworkConnector.

◆ initializeForEventBus()

void ctkEventBus::ctkNetworkConnectorQtSoap::initializeForEventBus ( )
virtual

register all the signalsand slots

Implements ctkEventBus::ctkNetworkConnector.

◆ marshall()

QtSoapType* ctkEventBus::ctkNetworkConnectorQtSoap::marshall ( const QString  name,
const QVariant &  parameter 
)

Marshalling of the datatypes.

◆ registerMethodsServer

void ctkEventBus::ctkNetworkConnectorQtSoap::registerMethodsServer ( mafRegisterMethodsMap  registerMethodsList)
signal

signal for the registration of the functions with parameters

◆ registerNamespace()

void ctkEventBus::ctkNetworkConnectorQtSoap::registerNamespace ( QString  prefix,
QString  namespaceURI 
)
inline

register a further namespace which will be used in soap 1.1 for axis2 compatibility

Definition at line 120 of file ctkNetworkConnectorQtSoap.h.

◆ registerServerMethod

void ctkEventBus::ctkNetworkConnectorQtSoap::registerServerMethod ( QString  methodName,
QList< QVariant::Type >  types 
)
slot

register methods on the server

◆ response()

QtSoapType * ctkEventBus::ctkNetworkConnectorQtSoap::response ( )
inline

return the response retrieved from the service

Definition at line 116 of file ctkNetworkConnectorQtSoap.h.

◆ send()

void ctkEventBus::ctkNetworkConnectorQtSoap::send ( const QString  methodName,
ctkEventArgumentsList argList 
)
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.

◆ setAction()

void ctkEventBus::ctkNetworkConnectorQtSoap::setAction ( const QString  action)
inline

set the action for the http transport

Definition at line 108 of file ctkNetworkConnectorQtSoap.h.

◆ setPath()

void ctkEventBus::ctkNetworkConnectorQtSoap::setPath ( const QString  path)
inline

set the path, for example the end point or the wsdl

Definition at line 112 of file ctkNetworkConnectorQtSoap.h.

◆ setWSDL()

void ctkEventBus::ctkNetworkConnectorQtSoap::setWSDL ( const QString  wsdlUrl)
inline

set the url of the wsdl for querying the service.

Definition at line 104 of file ctkNetworkConnectorQtSoap.h.

◆ startListen()

void ctkEventBus::ctkNetworkConnectorQtSoap::startListen ( )
virtual

Start the server.

Implements ctkEventBus::ctkNetworkConnector.


The documentation for this class was generated from the following file: