|
TAO_CosTrader
2.4.2
|
#include <Trading_Loader.h>


Public Member Functions | |
| TAO_Trading_Loader (void) | |
| Constructor. More... | |
| ~TAO_Trading_Loader (void) | |
| Destructor. More... | |
| virtual int | init (int argc, ACE_TCHAR *argv[]) |
| virtual int | fini (void) |
| int | run (void) |
| Run the Trading Service. More... | |
| CORBA::Object_ptr | create_object (CORBA::ORB_ptr orb, int argc, ACE_TCHAR *argv[]) |
Public Member Functions inherited from TAO_Object_Loader | |
| virtual | ~TAO_Object_Loader (void) |
Public Member Functions inherited from ACE_Service_Object | |
| ACE_Service_Object (ACE_Reactor *=0) | |
| virtual | ~ACE_Service_Object (void) |
| virtual int | suspend (void) |
| virtual int | resume (void) |
Public Member Functions inherited from ACE_Event_Handler | |
| virtual | ~ACE_Event_Handler (void) |
| virtual ACE_HANDLE | get_handle (void) const |
| virtual void | set_handle (ACE_HANDLE) |
| virtual int | priority (void) const |
| virtual void | priority (int priority) |
| virtual int | handle_input (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
| virtual int | handle_output (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
| virtual int | handle_exception (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
| virtual int | handle_timeout (const ACE_Time_Value ¤t_time, const void *act=0) |
| virtual int | handle_exit (ACE_Process *) |
| virtual int | handle_close (ACE_HANDLE handle, ACE_Reactor_Mask close_mask) |
| virtual int | handle_signal (int signum, siginfo_t *=0, ucontext_t *=0) |
| virtual int | resume_handler (void) |
| virtual int | handle_qos (ACE_HANDLE=ACE_INVALID_HANDLE) |
| virtual int | handle_group_qos (ACE_HANDLE=ACE_INVALID_HANDLE) |
| virtual void | reactor (ACE_Reactor *reactor) |
| virtual ACE_Reactor * | reactor (void) const |
| virtual ACE_Reactor_Timer_Interface * | reactor_timer_interface (void) const |
| virtual Reference_Count | add_reference (void) |
| virtual Reference_Count | remove_reference (void) |
| Reference_Counting_Policy & | reference_counting_policy (void) |
Public Member Functions inherited from ACE_Shared_Object | |
| ACE_Shared_Object (void) | |
| virtual | ~ACE_Shared_Object (void) |
| virtual int | info (ACE_TCHAR **info_string, size_t length=0) const |
Protected Member Functions | |
| int | init_multicast_server (void) |
| int | bootstrap_to_federation (void) |
| Bootstrap to another trader, and attach to its trader network. More... | |
| int | parse_args (int &argc, ACE_TCHAR *argv[]) |
| Parses the command line arguments. More... | |
Protected Member Functions inherited from ACE_Event_Handler | |
| ACE_Event_Handler (ACE_Reactor *=0, int priority=ACE_Event_Handler::LO_PRIORITY) | |
Protected Attributes | |
| TAO_ORB_Manager | orb_manager_ |
| The ORB manager. More... | |
| auto_ptr< TAO_Trader_Factory::TAO_TRADER > | trader_ |
| Pointer to the linked trader. More... | |
| TAO_Service_Type_Repository | type_repos_ |
| Service Type Repository used by the trading service. More... | |
| CORBA::String_var | ior_ |
| IOR of the trader kept around for handiness purposes. More... | |
| CORBA::Boolean | federate_ |
| Flag indicating whether this trader should join the federation. More... | |
| FILE * | ior_output_file_ |
| File to output the Naming Service IOR. More... | |
| CORBA::String_var | name_ |
| Name of this trading service: "hostname:pid". More... | |
| TAO_IOR_Multicast | ior_multicast_ |
| CORBA::Boolean | bootstrapper_ |
| Flag inidicating whether we're the trader others are bootstrapping to. More... | |
Protected Attributes inherited from ACE_Event_Handler | |
| Atomic_Reference_Count | reference_count_ |
Private Member Functions | |
| TAO_Trading_Loader (const TAO_Trading_Loader &) | |
| TAO_Trading_Loader & | operator= (const TAO_Trading_Loader &) |
Additional Inherited Members | |
Public Types inherited from ACE_Event_Handler | |
| typedef long | Reference_Count |
Static Public Member Functions inherited from ACE_Event_Handler | |
| static ACE_THR_FUNC_RETURN | read_adapter (void *event_handler) |
| static int | register_stdin_handler (ACE_Event_Handler *eh, ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr, int flags=THR_DETACHED) |
| static int | remove_stdin_handler (ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr) |
Public Attributes inherited from ACE_Service_Object | |
| ACE_ALLOC_HOOK_DECLARE | |
Public Attributes inherited from ACE_Event_Handler | |
| LO_PRIORITY | |
| HI_PRIORITY | |
| NULL_MASK | |
| READ_MASK | |
| WRITE_MASK | |
| EXCEPT_MASK | |
| ACCEPT_MASK | |
| CONNECT_MASK | |
| TIMER_MASK | |
| QOS_MASK | |
| GROUP_QOS_MASK | |
| SIGNAL_MASK | |
| ALL_EVENTS_MASK | |
| RWE_MASK | |
| DONT_CALL | |
| ACE_EVENT_HANDLER_NOT_RESUMED | |
| ACE_REACTOR_RESUMES_HANDLER | |
| ACE_APPLICATION_RESUMES_HANDLER | |
Protected Types inherited from ACE_Event_Handler | |
| typedef ACE_Atomic_Op< ACE_SYNCH_MUTEX, Reference_Count > | Atomic_Reference_Count |
| TAO_Trading_Loader::TAO_Trading_Loader | ( | void | ) |
Constructor.
| TAO_Trading_Loader::~TAO_Trading_Loader | ( | void | ) |
Destructor.
|
private |
|
protected |
Bootstrap to another trader, and attach to its trader network.
|
virtual |
This function call initializes the Trading Service given a reference to the ORB and the command line parameters.
Implements TAO_Object_Loader.
|
virtual |
Called by the Service Configurator framework to remove the Event Service. Defined in <ace/Service_Config.h>
Reimplemented from ACE_Shared_Object.
|
virtual |
Called by the Service Configurator framework to initialize the Event Service. Defined in <ace/Service_Config.h>
Reimplemented from ACE_Shared_Object.
|
protected |
Enable the Trading Service to answer multicast requests for its IOR.
|
private |
|
protected |
Parses the command line arguments.
| int TAO_Trading_Loader::run | ( | void | ) |
Run the Trading Service.
|
protected |
Flag inidicating whether we're the trader others are bootstrapping to.
|
protected |
Flag indicating whether this trader should join the federation.
|
protected |
IOR of the trader kept around for handiness purposes.
|
protected |
Event handler that responds to resolve_initial_references requests.
|
protected |
File to output the Naming Service IOR.
|
protected |
Name of this trading service: "hostname:pid".
|
protected |
The ORB manager.
|
protected |
Pointer to the linked trader.
|
protected |
Service Type Repository used by the trading service.
1.8.11