public interface MessageSupport
MessageCallback.onMessage()
Modifier and Type | Method and Description |
---|---|
MessageHandle |
getRxMessage()
This method returns a
MessageHandle reference valid only in the
context of the of MessageCallback.onMessage() . |
void |
takeRxMessage(MessageHandle in_out_messageHandle)
Use this method to make the received message available outside the scope
of
MessageCallback.onMessage() Note: client
applications must call Handle.destroy() on the MessageHandle
reference when they are done with it |
MessageHandle getRxMessage()
MessageHandle
reference valid only in the
context of the of MessageCallback.onMessage()
. Client
applications that require a
MessageHandle reference available outside of the scope of the message
callback must call MessageSupport.takeRxMessage()
instead.
Note: client applications must not call
Handle.destroy()
on the returned MessageHandle reference
void takeRxMessage(MessageHandle in_out_messageHandle) throws SolclientException
MessageCallback.onMessage()
Note: client
applications must call Handle.destroy()
on the MessageHandle
reference when they are done with itin_out_messageHandle
- an "unbound" message handle which gets bound to the received
CCSMP message object after the method returnsSolclientException
Copyright 2004-2024 Solace Corporation. All rights reserved.