public interface MessageContext
Java interface defines the necessary Java methods to handle HCI messages
sent via asynchronous communications; A message context is returned by the MessageSender.asyncSend(com.highdeal.hci.MessageEnvelope, com.highdeal.hci.ClientMessageListener)
operation to cancel the message or retrieve results of
the message when it is completelly processed by the connected SAP CC system.MessageSender| Modifier and Type | Method and Description |
|---|---|
MessageEnvelope |
getResult()
Retrieves the result of the operation.
|
void |
stop()
Stops the message.
|
void stop() throws CommunicationFailureException
CommunicationFailureException - if the SAP CC system cannot be reachedMessageEnvelope getResult() throws CommunicationFailureException
CommunicationFailureException - if the SAP CC system cannot be reached