|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IResponseListener
IResponseListener specifies the interface that classes must implement to receive the response part of an asynchronous request-response call.
IResponseListener is an interface that forms part of the service style high-level public interface to the Correlator with a focus on only dealing with Events and consumer channels.
Method Summary | |
---|---|
void |
handleException(java.lang.Exception exception)
Callback method that is called when an exception is thrown within an asynchronous request-response call made on an EventServiceChannel. |
void |
handleResponse(Event requestEvent,
Event responseEvent)
Callback method that is called when a matching response Event is received for an asynchronous request-response call made on an EventServiceChannel. |
Method Detail |
---|
void handleResponse(Event requestEvent, Event responseEvent)
requestEvent
- the original request Event.responseEvent
- the corresponding response Event.void handleException(java.lang.Exception exception)
exception
- The exception that was thrown in the asynchronous call.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |