xmlBlaster 1.6.2 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.

Field Summary
private  java.lang.String ME
           
private  XmlRpcCallbackServer server
           
 
Constructor Summary
(package private) XmlRpcCallbackImpl(XmlRpcCallbackServer server)
          Construct a persistently named object.
 
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
 

Field Detail

ME

private final java.lang.String ME
See Also:
Constant Field Values

server

private XmlRpcCallbackServer server
Constructor Detail

XmlRpcCallbackImpl

XmlRpcCallbackImpl(XmlRpcCallbackServer server)
             throws XmlBlasterException
Construct a persistently named object.

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 API

Copyright © 1999-2007 The xmlBlaster.org contributers.