|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xmlBlaster.client.protocol.xmlrpc.XmlRpcCallbackImpl
public class XmlRpcCallbackImpl
The methods of this callback class are exposed to XMLRPC clients, in this case to xmlBlaster when it wants to callback the client.
Field Summary | |
---|---|
private boolean |
inhibitCbExceptions
|
static java.lang.String |
INHIBITED_CALLBACK_EXCEPTION
|
private static java.util.logging.Logger |
log
|
private java.lang.String |
ME
|
private XmlRpcCallbackServer |
server
|
Constructor Summary | |
---|---|
XmlRpcCallbackImpl()
|
|
XmlRpcCallbackImpl(XmlRpcCallbackServer server,
boolean inhibitCbExceptions)
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. |
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 |
---|
private final java.lang.String ME
public static final java.lang.String INHIBITED_CALLBACK_EXCEPTION
private XmlRpcCallbackServer server
private static final java.util.logging.Logger log
private boolean inhibitCbExceptions
Constructor Detail |
---|
XmlRpcCallbackImpl(XmlRpcCallbackServer server, boolean inhibitCbExceptions) throws XmlBlasterException
client
- Your implementation of I_CallbackExtended, or null if you don't want any updates.
XmlBlasterException
XmlRpcCallbackImpl()
Method Detail |
---|
public java.lang.String update(java.lang.String cbSessionId, java.lang.String updateKey, byte[] content, java.lang.String updateQos) throws XmlBlasterException
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.
XmlBlasterException
public java.lang.String updateOneway(java.lang.String cbSessionId, java.lang.String updateKey, byte[] content, java.lang.String updateQos)
public java.lang.String update(java.lang.String cbSessionId, java.lang.String updateKey, java.lang.String contentAsString, java.lang.String updateQos) throws XmlBlasterException
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.
XmlBlasterException
public java.lang.String updateOneway(java.lang.String cbSessionId, java.lang.String updateKey, java.lang.String contentAsString, java.lang.String updateQos)
public java.lang.String ping(java.lang.String str)
I_CallbackDriver.ping(String)
|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |