|
TAO_Implementation_Repository
2.4.1
|
Information about IMR registered servers. More...
#include <Server_Info.h>

Public Member Functions | |
| Server_Info (void) | |
| Server_Info (const Server_Info &other) | |
| Server_Info (const ACE_CString &fqname, const ACE_CString &aname, const ACE_CString &cmdline, const ImplementationRepository::EnvironmentList &env, const ACE_CString &working_dir, ImplementationRepository::ActivationMode amode, int start_limit, const ACE_CString &partial_ior=ACE_CString(""), const ACE_CString &server_ior=ACE_CString(""), ImplementationRepository::ServerObject_ptr svrobj=ImplementationRepository::ServerObject::_nil()) | |
| Server_Info (const ACE_CString &serverId, const ACE_CString &pname, bool jacorb, Server_Info_Ptr alt) | |
| Server_Info & | operator= (const Server_Info &other) |
| void | clear (void) |
| void | setImRInfo (ImplementationRepository::ServerInformation *info) const |
| Convert to the corba type. More... | |
| ImplementationRepository::ServerInformation * | createImRServerInfo (void) const |
| void | reset_runtime (void) |
| bool | is_server (const char *name) const |
| bool | has_peer (const char *name) const |
| bool | is_mode (ImplementationRepository::ActivationMode m) const |
| bool | is_running (void) const |
| bool | start_allowed (void) |
| void | started (bool success) |
| void | start_limit (int lim) |
| void | update_options (const ImplementationRepository::StartupOptions &options) |
| void | set_contact (const char *pior, const char *sior, ImplementationRepository::ServerObject_ptr svrobj) |
| Server_Info * | active_info (void) |
| const Server_Info * | active_info (void) const |
| const char * | ping_id (void) const |
Static Public Member Functions | |
| static bool | parse_id (const char *id, ACE_CString &server_id, ACE_CString &poa_name) |
| static void | gen_id (const Server_Info *si, ACE_CString &id) |
| static void | gen_key (const ACE_CString &server_id, const ACE_CString &poa_name, ACE_CString &key) |
| static void | fqname_to_key (const char *fqname, ACE_CString &key) |
Public Attributes | |
| ACE_CString | server_id |
| The name of the server instance. More... | |
| ACE_CString | poa_name |
| the name of the poa More... | |
| bool | is_jacorb |
| true if the server is JacORB More... | |
| ACE_CString | key_name_ |
| The fully qualified name of this info, combines the serverID and POA name. More... | |
| ACE_CString | activator |
| The name of the activator in which this server runs. More... | |
| ACE_CString | cmdline |
| The command line startup command (program and arguments). More... | |
| ImplementationRepository::EnvironmentList | env_vars |
| Environment Variables. More... | |
| ACE_CString | dir |
| The working directory. More... | |
| ImplementationRepository::ActivationMode | activation_mode_ |
| The type of activation this supports. More... | |
| int | start_limit_ |
| Limit of retries to start the server. More... | |
| int | start_count_ |
| Current number of start attempts. More... | |
| ACE_CString | partial_ior |
| Current endpoint used by the server. More... | |
| ACE_CString | ior |
| IOR of the server object in the server. More... | |
| ACE_Time_Value | last_ping |
| The timestamp of the last time we verified the server is alive. More... | |
| ImplementationRepository::ServerObject_var | server |
| The cached server object. More... | |
| CORBA::StringSeq | peers |
| A comma separated list of additional POAs bound to this server. More... | |
| Server_Info_Ptr | alt_info_ |
| Alternate server info for sharing startup info between linked POAs. More... | |
| int | pid |
| Last known process ID reported by the activator. More... | |
| bool | death_notify |
| the locator should expect a notification on server death from activator More... | |
Information about IMR registered servers.
| Server_Info::Server_Info | ( | void | ) |
| Server_Info::Server_Info | ( | const Server_Info & | other | ) |
| Server_Info::Server_Info | ( | const ACE_CString & | fqname, |
| const ACE_CString & | aname, | ||
| const ACE_CString & | cmdline, | ||
| const ImplementationRepository::EnvironmentList & | env, | ||
| const ACE_CString & | working_dir, | ||
| ImplementationRepository::ActivationMode | amode, | ||
| int | start_limit, | ||
| const ACE_CString & | partial_ior = ACE_CString(""), |
||
| const ACE_CString & | server_ior = ACE_CString(""), |
||
| ImplementationRepository::ServerObject_ptr | svrobj = ImplementationRepository::ServerObject::_nil() |
||
| ) |
| Server_Info::Server_Info | ( | const ACE_CString & | serverId, |
| const ACE_CString & | pname, | ||
| bool | jacorb, | ||
| Server_Info_Ptr | alt | ||
| ) |
| Server_Info * Server_Info::active_info | ( | void | ) |
| const Server_Info * Server_Info::active_info | ( | void | ) | const |
| void Server_Info::clear | ( | void | ) |
| ImplementationRepository::ServerInformation * Server_Info::createImRServerInfo | ( | void | ) | const |
|
static |
|
static |
|
static |
| bool Server_Info::has_peer | ( | const char * | name | ) | const |
| bool Server_Info::is_mode | ( | ImplementationRepository::ActivationMode | m | ) | const |
| bool Server_Info::is_running | ( | void | ) | const |
| bool Server_Info::is_server | ( | const char * | name | ) | const |
| Server_Info & Server_Info::operator= | ( | const Server_Info & | other | ) |
|
static |
| const char * Server_Info::ping_id | ( | void | ) | const |
| void Server_Info::reset_runtime | ( | void | ) |
| void Server_Info::set_contact | ( | const char * | pior, |
| const char * | sior, | ||
| ImplementationRepository::ServerObject_ptr | svrobj | ||
| ) |
| void Server_Info::setImRInfo | ( | ImplementationRepository::ServerInformation * | info | ) | const |
Convert to the corba type.
| bool Server_Info::start_allowed | ( | void | ) |
| void Server_Info::start_limit | ( | int | lim | ) |
| void Server_Info::started | ( | bool | success | ) |
| void Server_Info::update_options | ( | const ImplementationRepository::StartupOptions & | options | ) |
| ImplementationRepository::ActivationMode Server_Info::activation_mode_ |
The type of activation this supports.
| ACE_CString Server_Info::activator |
The name of the activator in which this server runs.
| Server_Info_Ptr Server_Info::alt_info_ |
Alternate server info for sharing startup info between linked POAs.
| ACE_CString Server_Info::cmdline |
The command line startup command (program and arguments).
| bool Server_Info::death_notify |
the locator should expect a notification on server death from activator
| ACE_CString Server_Info::dir |
The working directory.
| ImplementationRepository::EnvironmentList Server_Info::env_vars |
Environment Variables.
| ACE_CString Server_Info::ior |
IOR of the server object in the server.
| bool Server_Info::is_jacorb |
true if the server is JacORB
| ACE_CString Server_Info::key_name_ |
The fully qualified name of this info, combines the serverID and POA name.
| ACE_Time_Value Server_Info::last_ping |
The timestamp of the last time we verified the server is alive.
| ACE_CString Server_Info::partial_ior |
Current endpoint used by the server.
| CORBA::StringSeq Server_Info::peers |
A comma separated list of additional POAs bound to this server.
| int Server_Info::pid |
Last known process ID reported by the activator.
| ACE_CString Server_Info::poa_name |
the name of the poa
| ImplementationRepository::ServerObject_var Server_Info::server |
The cached server object.
| ACE_CString Server_Info::server_id |
The name of the server instance.
| int Server_Info::start_count_ |
Current number of start attempts.
| int Server_Info::start_limit_ |
Limit of retries to start the server.
1.8.11