VisiBroker for Java

com.inprise.vbroker.EventQueue
Interface EventQueueManager

All Superinterfaces:
EventQueueManagerOperations, IDLEntity, InterceptorManager, LocalInterface, Object, java.io.Serializable

public interface EventQueueManager
extends LocalInterface, EventQueueManagerOperations, InterceptorManager, IDLEntity

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) {
        ...
      }
    

See Also:
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
 


Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online