xmlBlaster 1.6.2 client API

org.xmlBlaster.client.protocol.xmlrpc
Class XmlRpcCallbackImpl

java.lang.Object
  extended byorg.xmlBlaster.client.protocol.xmlrpc.XmlRpcCallbackImpl

public class XmlRpcCallbackImpl
extends java.lang.Object

The methods of this callback class are exposed to XMLRPC clients, in this case to xmlBlaster when it wants to callback the client.

Author:
Marcel Ruff.

Method Summary
 java.lang.String ping(java.lang.String str)
          Ping to check if the callback server is alive.
 java.lang.String update(java.lang.String cbSessionId, java.lang.String updateKey, byte[] content, java.lang.String updateQos)
          The update method.
 void updateOneway(java.lang.String cbSessionId, java.lang.String updateKey, byte[] content, java.lang.String updateQos)
          The 'oneway' update method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

update

public java.lang.String update(java.lang.String cbSessionId,
                               java.lang.String updateKey,
                               byte[] content,
                               java.lang.String updateQos)
                        throws XmlBlasterException
The update method.

Gets invoked from xmlBlaster callback

Throws:
XmlBlasterException

updateOneway

public void updateOneway(java.lang.String cbSessionId,
                         java.lang.String updateKey,
                         byte[] content,
                         java.lang.String updateQos)
The 'oneway' update method.

oneway is not natively supported by XmlRpc

Gets invoked from XmlRpcCallbackImpl.java (which was called by xmlBlaster)


ping

public java.lang.String ping(java.lang.String str)
Ping to check if the callback server is alive.

See Also:
I_CallbackDriver.ping(String)

xmlBlaster 1.6.2 client API

Copyright © 1999-2007 The xmlBlaster.org contributers.