TAO_Implementation_Repository  2.3.3
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TAO_IMR_Op_Register Class Reference

Register Operation. More...

#include <tao_imr_i.h>

Inheritance diagram for TAO_IMR_Op_Register:
Inheritance graph
[legend]
Collaboration diagram for TAO_IMR_Op_Register:
Collaboration graph
[legend]

Public Member Functions

 TAO_IMR_Op_Register (bool is_add)
 
virtual int parse (int argc, ACE_TCHAR **argv)
 Parse arguments. More...
 
virtual int run (void)
 Do the work. More...
 
- Public Member Functions inherited from TAO_IMR_Op
virtual ~TAO_IMR_Op (void)
 Destructor. More...
 
void set_imr (ImplementationRepository::Administration_ptr imr)
 Sets the implrepo locator pointer. More...
 

Protected Member Functions

void addenv (ACE_TCHAR *opt)
 Sets one environment variable. More...
 
void print_usage (void)
 Prints a message about the usage. More...
 
- Protected Member Functions inherited from TAO_IMR_Op
 TAO_IMR_Op (void)
 
void display_server_information (const ImplementationRepository::ServerInformation &info)
 Prints out the information contained in a ServerInformation structure. More...
 

Protected Attributes

bool is_add_
 Enables pre-registration checks. More...
 
ACE_CString server_name_
 POA server name. More...
 
bool set_command_line_
 
ACE_CString command_line_
 
bool set_environment_vars_
 
ImplementationRepository::EnvironmentList environment_vars_
 
bool set_working_dir_
 
ACE_CString working_dir_
 
bool set_activation_
 
ImplementationRepository::ActivationMode activation_
 
bool set_retry_count_
 
int retry_count_
 
bool set_activator_
 
ACE_CString activator_
 
- Protected Attributes inherited from TAO_IMR_Op
ImplementationRepository::Administration_ptr imr_
 Reference to our implementation repository. More...
 
bool quiet_
 

Additional Inherited Members

- Public Types inherited from TAO_IMR_Op
enum  RETURN_CODES {
  NORMAL = 0, UNKNOWN, NO_PERMISSION, ALREADY_REGISTERED,
  CANNOT_ACTIVATE, NOT_FOUND, CANNOT_COMPLETE
}
 
- Static Public Member Functions inherited from TAO_IMR_Op
static TAO_IMR_Opmake_op (const ACE_TCHAR *op_name)
 Factory. More...
 

Detailed Description

Register Operation.

Register is used to update/add information for a server with the IMR.

Constructor & Destructor Documentation

TAO_IMR_Op_Register::TAO_IMR_Op_Register ( bool  is_add)

Member Function Documentation

void TAO_IMR_Op_Register::addenv ( ACE_TCHAR opt)
protected

Sets one environment variable.

int TAO_IMR_Op_Register::parse ( int  argc,
ACE_TCHAR **  argv 
)
virtual

Parse arguments.

hostname of the activator

Implements TAO_IMR_Op.

void TAO_IMR_Op_Register::print_usage ( void  )
protected

Prints a message about the usage.

int TAO_IMR_Op_Register::run ( void  )
virtual

Do the work.

Implements TAO_IMR_Op.

Member Data Documentation

ImplementationRepository::ActivationMode TAO_IMR_Op_Register::activation_
protected
ACE_CString TAO_IMR_Op_Register::activator_
protected
ACE_CString TAO_IMR_Op_Register::command_line_
protected
ImplementationRepository::EnvironmentList TAO_IMR_Op_Register::environment_vars_
protected
bool TAO_IMR_Op_Register::is_add_
protected

Enables pre-registration checks.

int TAO_IMR_Op_Register::retry_count_
protected
ACE_CString TAO_IMR_Op_Register::server_name_
protected

POA server name.

bool TAO_IMR_Op_Register::set_activation_
protected
bool TAO_IMR_Op_Register::set_activator_
protected
bool TAO_IMR_Op_Register::set_command_line_
protected
bool TAO_IMR_Op_Register::set_environment_vars_
protected
bool TAO_IMR_Op_Register::set_retry_count_
protected
bool TAO_IMR_Op_Register::set_working_dir_
protected
ACE_CString TAO_IMR_Op_Register::working_dir_
protected

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