TAO_CosTrader 4.0.1
|
#include <Trading_Loader.h>
Public Member Functions | |
TAO_Trading_Loader () | |
Constructor. | |
~TAO_Trading_Loader ()=default | |
Destructor. | |
virtual int | init (int argc, ACE_TCHAR *argv[]) |
virtual int | fini () |
int | run () |
Run the Trading Service. | |
CORBA::Object_ptr | create_object (CORBA::ORB_ptr orb, int argc, ACE_TCHAR *argv[]) |
![]() | |
virtual | ~TAO_Object_Loader () |
![]() | |
ACE_Service_Object (ACE_Reactor *=0) | |
virtual | ~ACE_Service_Object () |
virtual int | suspend () |
virtual int | resume () |
![]() | |
virtual | ~ACE_Event_Handler ()=default |
virtual ACE_HANDLE | get_handle () const |
virtual void | set_handle (ACE_HANDLE) |
virtual int | priority () 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 () |
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 () const |
virtual ACE_Reactor_Timer_Interface * | reactor_timer_interface () const |
virtual Reference_Count | add_reference () |
virtual Reference_Count | remove_reference () |
Reference_Counting_Policy & | reference_counting_policy () |
![]() | |
ACE_Shared_Object () | |
virtual | ~ACE_Shared_Object () |
virtual int | info (ACE_TCHAR **info_string, size_t length=0) const |
Protected Member Functions | |
int | init_multicast_server () |
int | bootstrap_to_federation () |
Bootstrap to another trader, and attach to its trader network. | |
int | parse_args (int &argc, ACE_TCHAR *argv[]) |
Parses the command line arguments. | |
![]() | |
ACE_Event_Handler (ACE_Reactor *=nullptr, int priority=ACE_Event_Handler::LO_PRIORITY) | |
Protected Attributes | |
TAO_ORB_Manager | orb_manager_ |
The ORB manager. | |
std::unique_ptr< TAO_Trader_Factory::TAO_TRADER > | trader_ |
Pointer to the linked trader. | |
TAO_Service_Type_Repository | type_repos_ |
Service Type Repository used by the trading service. | |
CORBA::String_var | ior_ |
IOR of the trader kept around for handiness purposes. | |
CORBA::Boolean | federate_ |
Flag indicating whether this trader should join the federation. | |
FILE * | ior_output_file_ |
File to output the Naming Service IOR. | |
CORBA::String_var | name_ |
Name of this trading service: "hostname:pid". | |
TAO_IOR_Multicast | ior_multicast_ |
CORBA::Boolean | bootstrapper_ |
Flag indicating whether we're the trader others are bootstrapping to. | |
![]() | |
Atomic_Reference_Count | reference_count_ |
Private Member Functions | |
TAO_Trading_Loader (const TAO_Trading_Loader &)=delete | |
TAO_Trading_Loader & | operator= (const TAO_Trading_Loader &)=delete |
TAO_Trading_Loader (TAO_Trading_Loader &&)=delete | |
TAO_Trading_Loader & | operator= (TAO_Trading_Loader &&)=delete |
Additional Inherited Members | |
![]() | |
typedef long | Reference_Count |
![]() | |
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) |
![]() | |
ACE_ALLOC_HOOK_DECLARE | |
![]() | |
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 | |
![]() | |
typedef std::atomic< Reference_Count > | Atomic_Reference_Count |
TAO_Trading_Loader::TAO_Trading_Loader | ( | ) |
Constructor.
|
default |
Destructor.
|
privatedelete |
|
privatedelete |
|
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.
|
privatedelete |
|
privatedelete |
|
protected |
Parses the command line arguments.
int TAO_Trading_Loader::run | ( | ) |
Run the Trading Service.
|
protected |
Flag indicating 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.