xmlBlaster 2.2.0 client API

org.xmlBlaster.client.protocol.xmlrpc
Class XmlRpcCallbackImpl

java.lang.Object
  extended by org.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.

Field Summary
static java.lang.String INHIBITED_CALLBACK_EXCEPTION
           
 
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.
 java.lang.String update(java.lang.String cbSessionId, java.lang.String updateKey, java.lang.String contentAsString, java.lang.String updateQos)
          The update method.
 java.lang.String updateOneway(java.lang.String cbSessionId, java.lang.String updateKey, byte[] content, java.lang.String updateQos)
          The 'oneway' update method.
 java.lang.String updateOneway(java.lang.String cbSessionId, java.lang.String updateKey, java.lang.String contentAsString, 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
 

Field Detail

INHIBITED_CALLBACK_EXCEPTION

public static final java.lang.String INHIBITED_CALLBACK_EXCEPTION
See Also:
Constant Field Values
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

Parameters:
sessionId - A sessionId which we can decide if we trust it This id is the one specified from the client which has setup the callback.
Throws:
XmlBlasterException

updateOneway

public java.lang.String 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)


update

public java.lang.String update(java.lang.String cbSessionId,
                               java.lang.String updateKey,
                               java.lang.String contentAsString,
                               java.lang.String updateQos)
                        throws XmlBlasterException
The update method.

Gets invoked from xmlBlaster callback

Parameters:
sessionId - A sessionId which we can decide if we trust it This id is the one specified from the client which has setup the callback.
Throws:
XmlBlasterException

updateOneway

public java.lang.String updateOneway(java.lang.String cbSessionId,
                                     java.lang.String updateKey,
                                     java.lang.String contentAsString,
                                     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 2.2.0 client API

Copyright © 1999-2014 The xmlBlaster.org contributers.