org::xmlBlaster::client::protocol::I_CallbackServer Class Reference

Inheritance diagram for org::xmlBlaster::client::protocol::I_CallbackServer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~I_CallbackServer ()
virtual void initialize (std::string &name, org::xmlBlaster::client::I_Callback &client)=0
 Initialize and start the callback server.
virtual std::string getCbProtocol ()=0
 Returns the 'well known' protocol type.
virtual std::string getCbAddress ()=0
 Returns the current callback address.
virtual bool shutdownCb ()=0
 Stop the server.
virtual org::xmlBlaster::client::protocol::I_ProgressListenerregisterProgressListener (org::xmlBlaster::client::protocol::I_ProgressListener *listener)=0
 Register a listener for to receive information about the progress of incoming data.

Detailed Description

Definition at line 35 of file I_CallbackServer.h.


Constructor & Destructor Documentation

virtual org::xmlBlaster::client::protocol::I_CallbackServer::~I_CallbackServer (  )  [virtual]

Definition at line 39 of file I_CallbackServer.h.


Member Function Documentation

virtual void org::xmlBlaster::client::protocol::I_CallbackServer::initialize ( std::string &  name,
org::xmlBlaster::client::I_Callback client 
) [pure virtual]

Initialize and start the callback server.

This is guaranteed to be invoked after the default constructor.

Parameters:
glob The global handle with your environment settings
name The login name of the client, for logging only
client Your implementation to receive the callback messages from xmlBlaster

Implemented in org::xmlBlaster::client::protocol::corba::CorbaDriver, and org::xmlBlaster::client::protocol::socket::SocketDriver.

virtual std::string org::xmlBlaster::client::protocol::I_CallbackServer::getCbProtocol (  )  [pure virtual]

Returns the 'well known' protocol type.

Returns:
E.g. "RMI", "SOCKET", "XMLRPC"

Implemented in org::xmlBlaster::client::protocol::corba::CorbaDriver, and org::xmlBlaster::client::protocol::socket::SocketDriver.

Referenced by org::xmlBlaster::client::XmlBlasterAccess::createDefaultCbServer().

virtual std::string org::xmlBlaster::client::protocol::I_CallbackServer::getCbAddress (  )  [pure virtual]

Returns the current callback address.

Returns:
"rmi://develop.MarcelRuff.info:1099/xmlBlasterCB", "127.128.2.1:7607", "http://XMLRPC" or null if not known

Implemented in org::xmlBlaster::client::protocol::corba::CorbaDriver, and org::xmlBlaster::client::protocol::socket::SocketDriver.

Referenced by org::xmlBlaster::client::XmlBlasterAccess::createDefaultCbServer().

virtual bool org::xmlBlaster::client::protocol::I_CallbackServer::shutdownCb (  )  [pure virtual]

Stop the server.

Returns:
true if everything went fine.

Implemented in org::xmlBlaster::client::protocol::corba::CorbaDriver, and org::xmlBlaster::client::protocol::socket::SocketDriver.

Referenced by org::xmlBlaster::client::XmlBlasterAccess::leaveServer().

virtual org::xmlBlaster::client::protocol::I_ProgressListener* org::xmlBlaster::client::protocol::I_CallbackServer::registerProgressListener ( org::xmlBlaster::client::protocol::I_ProgressListener listener  )  [pure virtual]

Register a listener for to receive information about the progress of incoming data.

Only one listener is supported, the last call overwrites older calls.

Parameters:
listener Your listener, pass 0 to unregister.
Returns:
The previously registered listener or 0

Implemented in org::xmlBlaster::client::protocol::corba::CorbaDriver, and org::xmlBlaster::client::protocol::socket::SocketDriver.

Referenced by org::xmlBlaster::client::XmlBlasterAccess::registerProgressListener().


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