|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface I_CallbackExtended
This is a little helper interface which which extends the I_Callback and I_CallbackRaw interface to become suited for protocols like xml-rpc.
The class implementing this interface needs to support the 3 update() variants, so that the protocol drivers can choose the update() they like most.
Method Summary | |
---|---|
void |
lostConnection(XmlBlasterException xmlBlasterException)
For example called by socket layer on EOF |
java.lang.String |
update(java.lang.String cbSessionId,
java.lang.String updateKeyLiteral,
byte[] content,
java.lang.String updateQosLiteral)
This is the callback method invoked when using certain callback protocols (for example xml-rpc) which informs the client in an asynchronous mode about a new message. |
void |
updateOneway(java.lang.String cbSessionId,
java.lang.String updateKeyLiteral,
byte[] content,
java.lang.String updateQosLiteral)
The oneway variant without a return value or exception |
Methods inherited from interface org.xmlBlaster.client.I_Callback |
---|
update |
Methods inherited from interface org.xmlBlaster.client.I_CallbackRaw |
---|
update, updateOneway |
Method Detail |
---|
java.lang.String update(java.lang.String cbSessionId, java.lang.String updateKeyLiteral, byte[] content, java.lang.String updateQosLiteral) throws XmlBlasterException
cbSessionId
- The session ID specified by the client which registered the callbackupdateKeyLiteral
- The arrived key (as an xml-string)content
- The arrived message contentupdateQosLiteral
- Quality of Service of the MsgUnitRaw
(as an xml-string)
XmlBlasterException
I_Callback
,
AbstractCallbackExtended
void updateOneway(java.lang.String cbSessionId, java.lang.String updateKeyLiteral, byte[] content, java.lang.String updateQosLiteral)
void lostConnection(XmlBlasterException xmlBlasterException)
xmlBlasterException
-
|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |