#include <Transport_Acceptor.h>
Inheritance diagram for TAO_Acceptor:
Public Methods | |
TAO_Acceptor (CORBA::ULong tag) | |
virtual | ~TAO_Acceptor (void) |
Destructor. More... | |
CORBA::ULong | tag (void) const |
The tag, each concrete class will have a specific tag value. More... | |
virtual int | open (TAO_ORB_Core *orb_core, ACE_Reactor *reactor, int version_major, int version_minor, const char *address, const char *options=0)=0 |
Method to initialize acceptor for address. More... | |
virtual int | open_default (TAO_ORB_Core *, ACE_Reactor *reactor, int version_major, int version_minor, const char *options=0)=0 |
Open an acceptor with the given protocol version on a default endpoint. More... | |
virtual int | close (void)=0 |
Closes the acceptor. More... | |
virtual int | create_profile (const TAO_ObjectKey &object_key, TAO_MProfile &mprofile, CORBA::Short priority)=0 |
Create the corresponding profile for this endpoint. More... | |
virtual int | is_collocated (const TAO_Endpoint *endpoint)=0 |
Return 1 if the <endpoint> has the same address as the acceptor. More... | |
virtual CORBA::ULong | endpoint_count (void)=0 |
Returns the number of endpoints this acceptor is listening on. More... | |
virtual int | object_key (IOP::TaggedProfile &profile, TAO_ObjectKey &key)=0 |
This method fetches the <key> from the <profile>. More... | |
Private Attributes | |
CORBA::ULong | tag_ |
IOP protocol tag. More... |
Base class for the Acceptor bridge class.
@TODO: Need to rename the class as TAO_Transport_Acceptor.
|
|
|
Destructor.
|
|
Closes the acceptor.
Reimplemented in TAO_IIOP_Acceptor. |
|
Create the corresponding profile for this endpoint. If share_profile is set to true, the pluggable protocol implementation should try to add the endpoint to a profile in the mprofile that is of the same type. Currently, this is used when RT CORBA is enabled. Reimplemented in TAO_IIOP_Acceptor. |
|
Returns the number of endpoints this acceptor is listening on. This is used for determining how many profiles will be generated for this acceptor. Reimplemented in TAO_IIOP_Acceptor. |
|
Return 1 if the <endpoint> has the same address as the acceptor.
Reimplemented in TAO_IIOP_Acceptor. |
|
This method fetches the <key> from the <profile>. Protocols that are pluggable can send data that are specific in the <profile_data> field encapsulated as a octet stream. This method allows those protocols to get the object key from the encapsulation. Reimplemented in TAO_IIOP_Acceptor. |
|
Method to initialize acceptor for address.
Reimplemented in TAO_IIOP_Acceptor. |
|
Open an acceptor with the given protocol version on a default endpoint.
Reimplemented in TAO_IIOP_Acceptor. |
|
The tag, each concrete class will have a specific tag value.
|
|
IOP protocol tag.
|