clientIdl::BlasterCallback Interface Reference

This interface needs to be implemented by the clients. More...

List of all members.

Public Member Functions

serverIdl::XmlTypeArr update (in string sessionId, in serverIdl::MessageUnitArr msgUnitArr) raises (serverIdl::XmlBlasterException)
 This update is invoked when the server calls back to the client.
oneway void updateOneway (in string sessionId, in serverIdl::MessageUnitArr msgUnitArr)
 This update is invoked when the server calls back to the client.
string ping (in string qos)
 Ping to check if the callback server is alive.


Detailed Description

This interface needs to be implemented by the clients.

The IOR of this BlasterCallback has to be passed initially to the xmlBlaster using the connect() method

Definition at line 98 of file xmlBlaster.idl.


Member Function Documentation

serverIdl::XmlTypeArr clientIdl::BlasterCallback::update ( in string  sessionId,
in serverIdl::MessageUnitArr  msgUnitArr 
) raises (serverIdl::XmlBlasterException)

This update is invoked when the server calls back to the client.

Parameters:
sessionId To identify server (authentication)
msgUnit Contains a sequence of 1 - n MessageUnit structs
Returns:
For every message "<qos><state id='OK'/></qos>" If some messages failed: "<qos><state id='ERROR'/></qos>"
Exceptions:
On severe problem or on authentication deny an XmlBlasterException is thrown, all messages of this array are treated as lost
See also:
the interface.update requirement

oneway void clientIdl::BlasterCallback::updateOneway ( in string  sessionId,
in serverIdl::MessageUnitArr  msgUnitArr 
)

This update is invoked when the server calls back to the client.

The oneway variant may be used for better performance, it is not returning a value (no application level ACK).

Parameters:
sessionId To identify server
msgUnit Contains a sequence of 1 - n MessageUnit structs

string clientIdl::BlasterCallback::ping ( in string  qos  ) 

Ping to check if the callback server is alive.

This ping checks the availability on the application level.

Parameters:
qos Currently an empty string ""
Returns:
Currently an empty string ""


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