|
VisiBroker for Java |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventQueueManager
EventQueueManager is a singleton, with which application code registers,
unregisters and retrieves event listeners. Application code is supposed
to bootstrap this singleton as follows,
try {
InterceptorManagerControl control =
InterceptorManagerControlHelper.narrow (
orb.resolve_initial_references( "VisiBrokerInterceptorControl")
);
EventQueueManager queue_manager =
(EventQueueManager) control.get_manager( "EventQueue");
queue_manager.register_listener (
new MyConnEventListener(),
EventType.CONN_EVENT_TYPE
);
}
catch( Exception e) {
...
}
EventListener
,
EventType
,
ConnEventListener
Method Summary |
---|
Methods inherited from interface org.omg.CORBA.Object |
---|
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Methods inherited from interface com.inprise.vbroker.EventQueue.EventQueueManagerOperations |
---|
get_listeners, register_listener, unregister_listener |
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |