FileDocCategorySizeDatePackage
EventChannel.javaAPI DocExample1410Thu Nov 08 00:23:48 GMT 2001com.ora.rmibook.chapter7.events

EventChannel

public interface EventChannel implements Remote

Fields Summary
public static final int
MAX_PRIORITY
public static final int
LEAST_PRIORITY
Constructors Summary
Methods Summary
public voidaddListener(EventListener listener)

public voidaddListenerForEventType(EventListener eventListener, java.lang.Class EventType)

public voidannounceEvent(Event event, int priority)

public voidannounceEvent(Event event)

public voidautomaticallyExpireEvents(boolean checkExpirationsBeforeSending)

public voidclearEventQueue()

public voidenableLogging(boolean logEvents)

public voidremoveListener(EventListener listener)

public voidremoveListenerForEventType(EventListener eventListener, java.lang.Class EventType)

public voidresumeAcceptingEvents()

public voidresumeBroadcastingEvents()

public voidsetDefaultPriorityForEventType(java.lang.Class EventType, int defaultPriority)

public voidstopAcceptingEvents()

public voidstopBroadcastingEvents()