Borland(R) Enterprise Server VisiBroker(R) デベロッパーズガイド
EventQueueManagerオブジェクトはORB初期化時に生成されます。サーバ側のインプリメンテーションは,次に示すコードによってEventQueueManagerオブジェクトリファレンスを返します。
CORBA::Object *object = orb->resolve_initial_references("VisiBrokerInterceptorControl"); interceptor::InterceptorManagerControl_var control = interceptor::InterceptorManagerControl::_narrow(object); interceptor::InterceptorManager_var manager = control->get_manager("EventQueueManager"); EventQueue::EventQueueManager_var eq_mgr = EventQueue::EventQueueManager::_narrow(manager);
com.inprise.vbroker.interceptor.InterceptorManagerControl control = com.inprise.vbroker.interceptor. InterceptorManagerControlHelper.narrow( orb.resolve_initial_references( "VisiBrokerInterceptorControl")); EventQueueManager manager = (EventQueueManager)control.get_manager("EventQueue"); EventListener theListener =... manager.register_listeners(theListener);
All Rights Reserved. Copyright (C) 2006, Hitachi, Ltd.
COPYRIGHT (C) 1992-2004 Borland Software Corporation. All rights reserved.