xmlBlaster 2.2.0 API

org.xmlBlaster.protocol.rmi
Interface I_XmlBlasterCallback

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
RmiCallbackServer

public interface I_XmlBlasterCallback
extends java.rmi.Remote

The client RMI callback server interface which your client needs to implement.

You need to register this RMI callback server with rmi-registry and pass this name as the callback address of your subscribe()-QoS.

Author:
xmlBlaster@marcelruff.info

Method Summary
 java.lang.String ping(java.lang.String str)
          Ping to check if the xmlBlaster server is alive.
 java.lang.String[] update(java.lang.String cbSessionId, MsgUnitRaw[] msgUnitArr)
           
 void updateOneway(java.lang.String cbSessionId, MsgUnitRaw[] msgUnitArr)
          The oneway variant for better performance.
 

Method Detail

update

java.lang.String[] update(java.lang.String cbSessionId,
                          MsgUnitRaw[] msgUnitArr)
                          throws java.rmi.RemoteException,
                                 XmlBlasterException
Throws:
java.rmi.RemoteException
XmlBlasterException

updateOneway

void updateOneway(java.lang.String cbSessionId,
                  MsgUnitRaw[] msgUnitArr)
                  throws java.rmi.RemoteException
The oneway variant for better performance. Does RMI implement a real oneway?

Throws:
java.rmi.RemoteException

ping

java.lang.String ping(java.lang.String str)
                      throws java.rmi.RemoteException
Ping to check if the xmlBlaster server is alive. This ping checks the availability on the application level.

Parameters:
qos - Currently an empty string ""
Returns:
Currently an empty string ""
Throws:
java.rmi.RemoteException

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.