Package kilim
Class Mailbox.BlockingSubscriber
- java.lang.Object
-
- kilim.Mailbox.BlockingSubscriber
-
- All Implemented Interfaces:
EventSubscriber
public class Mailbox.BlockingSubscriber extends java.lang.Object implements EventSubscriber
-
-
Constructor Summary
Constructors Constructor Description BlockingSubscriber(long tom)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanblockingWait()wait for either a timeout or event, returning true if the timeout occurredvoidonEvent(EventPublisher ep, Event e)
-
-
-
Method Detail
-
onEvent
public void onEvent(EventPublisher ep, Event e)
- Specified by:
onEventin interfaceEventSubscriber
-
blockingWait
public boolean blockingWait()
wait for either a timeout or event, returning true if the timeout occurred
-
-