xmlBlaster 2.1.0 API

org.xmlBlaster.client
Interface I_CallbackRaw

All Known Subinterfaces:
I_CallbackExtended
All Known Implementing Classes:
AbstractCallbackExtended, TestCorbaThreads, XmlBlasterAccess, XmlScriptInterpreterTest.TestAccessor

public interface I_CallbackRaw

This is a little helper class is the same as the CORBA generated

    org.xmlBlaster.protocol.corba.clientIdl.BlasterCallbackOperations
 
but it is independent of the protocol type.

Its purpose is to deliver Java clients the asynchronous message updates through the update() method.

Author:
xmlBlaster@marcelruff.info

Method Summary
 java.lang.String[] update(java.lang.String cbSessionId, MsgUnitRaw[] msgUnitArr)
          This is the callback method invoked from xmlBlaster server informing the client in an asynchronous mode about a new message.
 void updateOneway(java.lang.String cbSessionId, MsgUnitRaw[] msgUnitArr)
          The oneway variant without a return value or exception
 

Method Detail

update

java.lang.String[] update(java.lang.String cbSessionId,
                          MsgUnitRaw[] msgUnitArr)
                          throws XmlBlasterException
This is the callback method invoked from xmlBlaster server informing the client in an asynchronous mode about a new message.

Parameters:
msgUnitArr - Array of MsgUnitRaw, containing xmlKey,content,qos
Returns:
For every message a return QoS
Throws:
XmlBlasterException

updateOneway

void updateOneway(java.lang.String cbSessionId,
                  MsgUnitRaw[] msgUnitArr)
The oneway variant without a return value or exception


xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.