TAO_CosTrader  2.2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
TAO_Trading_Loader Class Reference

#include <Trading_Loader.h>

Inheritance diagram for TAO_Trading_Loader:
Inheritance graph
Collaboration diagram for TAO_Trading_Loader:
Collaboration graph

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)
 

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 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...
 

Private Member Functions

 TAO_Trading_Loader (const TAO_Trading_Loader &)
 
TAO_Trading_Loaderoperator= (const TAO_Trading_Loader &)
 

Constructor & Destructor Documentation

TAO_Trading_Loader::TAO_Trading_Loader ( void  )

Constructor.

TAO_Trading_Loader::~TAO_Trading_Loader ( void  )

Destructor.

TAO_Trading_Loader::TAO_Trading_Loader ( const TAO_Trading_Loader )
private

Member Function Documentation

int TAO_Trading_Loader::bootstrap_to_federation ( void  )
protected

Bootstrap to another trader, and attach to its trader network.

CORBA::Object_ptr TAO_Trading_Loader::create_object ( CORBA::ORB_ptr  orb,
int  argc,
ACE_TCHAR argv[] 
)
virtual

This function call initializes the Trading Service given a reference to the ORB and the command line parameters.

Implements TAO_Object_Loader.

int TAO_Trading_Loader::fini ( void  )
virtual

Called by the Service Configurator framework to remove the Event Service. Defined in <ace/Service_Config.h>

int TAO_Trading_Loader::init ( int  argc,
ACE_TCHAR argv[] 
)
virtual

Called by the Service Configurator framework to initialize the Event Service. Defined in <ace/Service_Config.h>

int TAO_Trading_Loader::init_multicast_server ( void  )
protected

Enable the Trading Service to answer multicast requests for its IOR.

TAO_Trading_Loader& TAO_Trading_Loader::operator= ( const TAO_Trading_Loader )
private
int TAO_Trading_Loader::parse_args ( int &  argc,
ACE_TCHAR argv[] 
)
protected

Parses the command line arguments.

int TAO_Trading_Loader::run ( void  )

Run the Trading Service.

Member Data Documentation

CORBA::Boolean TAO_Trading_Loader::bootstrapper_
protected

Flag inidicating whether we're the trader others are bootstrapping to.

CORBA::Boolean TAO_Trading_Loader::federate_
protected

Flag indicating whether this trader should join the federation.

CORBA::String_var TAO_Trading_Loader::ior_
protected

IOR of the trader kept around for handiness purposes.

TAO_IOR_Multicast TAO_Trading_Loader::ior_multicast_
protected

Event handler that responds to resolve_initial_references requests.

FILE* TAO_Trading_Loader::ior_output_file_
protected

File to output the Naming Service IOR.

CORBA::String_var TAO_Trading_Loader::name_
protected

Name of this trading service: "hostname:pid".

TAO_ORB_Manager TAO_Trading_Loader::orb_manager_
protected

The ORB manager.

auto_ptr<TAO_Trader_Factory::TAO_TRADER> TAO_Trading_Loader::trader_
protected

Pointer to the linked trader.

TAO_Service_Type_Repository TAO_Trading_Loader::type_repos_
protected

Service Type Repository used by the trading service.


The documentation for this class was generated from the following files: