|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IResponseWrapper
IResponseWrapper is an interface that specifies the public API for objects returned by the various request-response methods of the Event Service.
IMPORTANT
Iff acknowledgement sequencing is being used in the EventService, then
the client MUST ALWAYS ensure that releaseLock() is called on the
IResponseWrapper object returned from a requestResponse() call.
All of this assumes that there is a single receiver thread and possibly multiple client threads.
Method Summary | |
---|---|
Event |
getEvent()
Get the wrapped Event. |
void |
releaseLock()
Release any threads that are blocked due to having called waitOnLock(). |
Method Detail |
---|
Event getEvent()
void releaseLock()
This method must be called by the client thread after it has retrieved the wrapped response event.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |