Package com.highdeal.hci
Interface MessageContext
public interface MessageContext
This
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.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the result of the operation.voidstop()Stops the message.
-
Method Details
-
stop
Stops the message.- Throws:
CommunicationFailureException- if the SAP CC system cannot be reached
-
getResult
Retrieves the result of the operation.- Returns:
- The result of the aynchronous operation
- Throws:
CommunicationFailureException- if the SAP CC system cannot be reached
-