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

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

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

Signals

void remoteCommunication (const QString event_id, ctkEventArgumentsList *argList)
 signal for send a message to through network More...
 

Public Member Functions

virtual ctkNetworkConnectorclone ()=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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ctkNetworkConnector()

ctkEventBus::ctkNetworkConnector::ctkNetworkConnector ( )

object constructor.

Member Function Documentation

◆ clone()

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

◆ createClient()

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

◆ createServer()

virtual void ctkEventBus::ctkNetworkConnector::createServer ( const unsigned int  port)
pure virtual

◆ initializeForEventBus()

virtual void ctkEventBus::ctkNetworkConnector::initializeForEventBus ( )
pure virtual

◆ protocol()

QString ctkEventBus::ctkNetworkConnector::protocol ( )

retrieve the protocol type of the connector

◆ remoteCommunication

void ctkEventBus::ctkNetworkConnector::remoteCommunication ( const QString  event_id,
ctkEventArgumentsList argList 
)
signal

signal for send a message to through network

◆ send()

virtual void ctkEventBus::ctkNetworkConnector::send ( const QString  event_id,
ctkEventArgumentsList argList 
)
pure virtual

Allow to send a network request.

Implemented in ctkEventBus::ctkNetworkConnectorQtSoap, and ctkEventBus::ctkNetworkConnectorZeroMQ.

◆ startListen()

virtual void ctkEventBus::ctkNetworkConnector::startListen ( )
pure virtual

Member Data Documentation

◆ m_Protocol

QString ctkEventBus::ctkNetworkConnector::m_Protocol
protected

define the protocol of the connector (xmlrpc, soap, etc...)

Definition at line 59 of file ctkNetworkConnector.h.

Property Documentation

◆ protocol

QString ctkEventBus::ctkNetworkConnector::protocol
read

Definition at line 1 of file ctkNetworkConnector.h.


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