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:
MessageSender

Method Summary
 MessageEnvelope getResult()
          Retrieves the result of the operation.
 void stop()
          Stops the message.
 

Method Detail

stop

void stop()
          throws CommunicationFailureException
Stops the message.

Throws:
CommunicationFailureException - if the SAP CC system cannot be reached

getResult

MessageEnvelope getResult()
                          throws CommunicationFailureException
Retrieves the result of the operation.

Returns:
The result of the aynchronous operation
Throws:
CommunicationFailureException - if the SAP CC system cannot be reached

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)