com.inspirel.yami
Interface OutgoingMessageCallback


public interface OutgoingMessageCallback

The callback interface that is used to notify the user code that the state of the outgoing message has changed. In particular, this callback can be used to receive message replies without blocking the client thread.


Method Summary
 void update(OutgoingMessage message)
          Callback function that is automatically called by the agent whenever the state of outgoing message changes.
 

Method Detail

update

void update(OutgoingMessage message)
            throws java.lang.Exception
Callback function that is automatically called by the agent whenever the state of outgoing message changes.

Parameters:
message - the message descriptor
Throws:
java.lang.Exception - any exception, which will be ignored