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_ProgressListener * | registerProgressListener (org::xmlBlaster::client::protocol::I_ProgressListener *listener)=0 |
Register a listener for to receive information about the progress of incoming data. |
Definition at line 35 of file I_CallbackServer.h.
virtual org::xmlBlaster::client::protocol::I_CallbackServer::~I_CallbackServer | ( | ) | [virtual] |
Definition at line 39 of file I_CallbackServer.h.
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.
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.
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.
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.
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.
listener | Your listener, pass 0 to unregister. |
Implemented in org::xmlBlaster::client::protocol::corba::CorbaDriver, and org::xmlBlaster::client::protocol::socket::SocketDriver.
Referenced by org::xmlBlaster::client::XmlBlasterAccess::registerProgressListener().