|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ListenerRegisterInterface
Interface to the EventBroker Service
for registering
interest in certain events.
Field Summary | |
---|---|
static int |
EVENT_TYPE_BROADCAST
Deprecated. A Broadcast type of event is forwarded to all possible handlers. |
static int |
EVENT_TYPE_REQUEST_RESPONSE
Deprecated. A Request/Response type of event is forwarded to a single handler and a response is always generated. |
Method Summary | |
---|---|
void |
addEventListener(java.lang.String eventName,
int eventType,
ListenerInterface listener)
Deprecated. Register a dynamic listener for a particular event. |
boolean |
removeEventListener(java.lang.String eventName,
int eventType,
ListenerInterface listener)
Deprecated. Unregister a dynamic listener for a particular event. |
Field Detail |
---|
static final int EVENT_TYPE_BROADCAST
static final int EVENT_TYPE_REQUEST_RESPONSE
Method Detail |
---|
void addEventListener(java.lang.String eventName, int eventType, ListenerInterface listener) throws java.rmi.RemoteException, InvalidEventTypeException
Valid event types are as follows:
eventName
- name of event.eventType
- type of event.listener
- dynamic listener for given event.
java.rmi.RemoteException
- if a network anomaly is encountered.
InvalidEventTypeException
- if the event type is invalid.boolean removeEventListener(java.lang.String eventName, int eventType, ListenerInterface listener) throws java.rmi.RemoteException
Valid event types are as follows:
eventName
- name of event.eventType
- type of event.listener
- dynamic listener to remove.
java.rmi.RemoteException
- if a network anomaly is encountered.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |