#include <Acceptor_Registry.h>
Collaboration diagram for TAO_Acceptor_Registry:
Public Methods | |
TAO_Acceptor_Registry (void) | |
Default constructor. | |
~TAO_Acceptor_Registry (void) | |
Default destructor. | |
int | open (TAO_ORB_Core *orb_core, ACE_Reactor *reactor, int ignore_address, CORBA::Environment &ACE_TRY_ENV) throw (CORBA::SystemException) |
Initialize all registered acceptors. Return -1 on error. | |
int | close_all (void) |
Close all open acceptors. | |
size_t | endpoint_count (void) |
Returns the total number of endpoints in all of its acceptors. | |
int | is_collocated (const TAO_MProfile& mprofile) |
Check if there is at least one profile in <mprofile> that corresponds to a collocated object. | |
TAO_Acceptor* | get_acceptor (CORBA::ULong tag) |
Return the acceptor bridges. | |
TAO_AcceptorSetIterator | begin (void) |
TAO_AcceptorSetIterator | end (void) |
Private Methods | |
int | open_default (TAO_ORB_Core *orb_core, ACE_Reactor *reactor, const char *options) |
Create a default acceptor for all loaded protocols. | |
int | open_default (TAO_ORB_Core *orb_core, ACE_Reactor *reactor, int major, int minor, TAO_ProtocolFactorySetItor &factory, const char *options) |
Create a default acceptor using the specified protocol factory. | |
void | extract_endpoint_options (ACE_CString &addrs, ACE_CString &options, TAO_Protocol_Factory *factory) |
Extract endpoint-specific options from the endpoint string. | |
void | extract_endpoint_version (ACE_CString &address, int &major, int &minor) |
Extract endpoint/address specific version from the endpoint string. | |
int | open_i (TAO_ORB_Core *orb_core, ACE_Reactor *reactor, ACE_CString &address, TAO_ProtocolFactorySetItor &factory, int ignore_address, CORBA::Environment &ACE_TRY_ENV) |
Iterator through addrs in the string <iop>, and create an acceptor for each one. | |
TAO_Acceptor_Registry (const TAO_Acceptor_Registry&) | |
void | operator= (const TAO_Acceptor_Registry&) |
Private Attributes | |
TAO_Acceptor** | acceptors_ |
List of acceptors that are currently open. | |
size_t | size_ |
Number of acceptors that are currently open. |
This class maintains a list os acceptor factories for all loaded ORB protocols. There is one Acceptor_Registry per ORB_Core.
|
Default constructor.
|
|
Default destructor.
|
|
|
|
|
|
Close all open acceptors.
|
|
|
|
Returns the total number of endpoints in all of its acceptors.
|
|
Extract endpoint-specific options from the endpoint string.
|
|
Extract endpoint/address specific version from the endpoint string.
|
|
Return the acceptor bridges.
|
|
Check if there is at least one profile in <mprofile> that corresponds to a collocated object.
|
|
Initialize all registered acceptors. Return -1 on error.
|
|
Create a default acceptor using the specified protocol factory.
|
|
Create a default acceptor for all loaded protocols.
|
|
Iterator through addrs in the string <iop>, and create an acceptor for each one.
|
|
|
|
List of acceptors that are currently open.
|
|
Number of acceptors that are currently open.
|