| 
xmlBlaster 2.2.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface I_Callback
Interface to receive asynchronously send callback messages from xmlBlaster.
Please implement this to receive your messages.
| Method Summary | |
|---|---|
 java.lang.String | 
update(java.lang.String cbSessionId,
       UpdateKey updateKey,
       byte[] content,
       UpdateQos updateQos)
This is the callback method invoked from I_XmlBlasterAccess informing the client in an asynchronous mode about a new message.  | 
| Method Detail | 
|---|
java.lang.String update(java.lang.String cbSessionId,
                        UpdateKey updateKey,
                        byte[] content,
                        UpdateQos updateQos)
                        throws XmlBlasterException
cbSessionId - The session ID specified by the client which registered the callback.
                    You can specify a cbSessionId during connection (with ConnectQos)
                    and this is bounced back here so you can authenticate the message.updateKey - The arrived key containing the topic namecontent - The arrived message content. This is your payload.qos - Quality of Service of the MsgUnit
XmlBlasterExceptionI_XmlBlasterAccess
  | 
xmlBlaster 2.2.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||