|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AsynchEventSink
AsychEventSink is a place for AsynchEvents
to be placed. These events can later be retrived by
event processing code.
| Method Summary | |
|---|---|
AsynchEvent |
getEvent()
Returns the next event in the sink, waiting forever till one is available. |
AsynchEvent |
getEvent(long waitTime)
Returns the next event in the sink, waiting for waitTime. |
boolean |
putEvent(AsynchEvent asynchEvent)
Puts an event into the sink, waiting forever until there is room to place the event.. |
boolean |
putEvent(AsynchEvent asynchEvent,
int waitTime)
Puts an event into the sink, waiting up to waitTime until there is room to place the event. |
| Method Detail |
|---|
boolean putEvent(AsynchEvent asynchEvent)
throws java.lang.InterruptedException
asynchEvent - - the event to place in the sink
java.lang.InterruptedException
boolean putEvent(AsynchEvent asynchEvent,
int waitTime)
throws java.lang.InterruptedException
asynchEvent - - the event to place in the sinkwaitTime - - how long to wait for room in the sink or - 1 to wait for ever
java.lang.InterruptedException
AsynchEvent getEvent()
throws java.lang.InterruptedException
java.lang.InterruptedException
AsynchEvent getEvent(long waitTime)
throws java.lang.InterruptedException
waitTime - - how long to wait for an event
java.lang.InterruptedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||