#include <Protocol_Factory.h>
Inheritance diagram for TAO_Protocol_Factory:
Public Member Functions | |
TAO_Protocol_Factory (CORBA::ULong tag) | |
virtual | ~TAO_Protocol_Factory (void) |
virtual int | init (int argc, ACE_TCHAR *argv[])=0 |
Initialization hook. | |
CORBA::ULong | tag (void) const |
virtual int | match_prefix (const ACE_CString &prefix)=0 |
Verify prefix is a match. | |
virtual const char * | prefix (void) const=0 |
Returns the prefix used by the protocol. | |
virtual char | options_delimiter (void) const=0 |
virtual TAO_Acceptor * | make_acceptor (void)=0 |
Create an acceptor. | |
virtual TAO_Connector * | make_connector (void)=0 |
Create a connector. | |
virtual int | requires_explicit_endpoint (void) const=0 |
Private Attributes | |
CORBA::ULong const | tag_ |
IOP protocol tag. |
|
Definition at line 11 of file Protocol_Factory.cpp.
00012 : tag_ (tag) 00013 { 00014 } |
|
Definition at line 16 of file Protocol_Factory.cpp.
00017 { 00018 } |
|
Initialization hook.
Reimplemented from ACE_Shared_Object. Implemented in TAO_IIOP_Protocol_Factory. |
|
Create an acceptor.
Implemented in TAO_IIOP_Protocol_Factory. |
|
Create a connector.
Implemented in TAO_IIOP_Protocol_Factory. |
|
Verify prefix is a match.
Implemented in TAO_IIOP_Protocol_Factory. |
|
Return the character used to mark where an endpoint ends and where its options begin. Implemented in TAO_IIOP_Protocol_Factory. Referenced by TAO_Acceptor_Registry::extract_endpoint_options(). |
|
Returns the prefix used by the protocol.
Implemented in TAO_IIOP_Protocol_Factory. |
|
Some protocols should not create a default endpoint unless the user specifies a -ORBEndpoint option. For example, local IPC (aka UNIX domain sockets) is unable to remove the rendesvouz point if the server crashes. For those protocols it is better to create the endpoint only if the user requests one. Implemented in TAO_IIOP_Protocol_Factory. |
|
The protocol tag, each concrete class will have a specific tag value. Definition at line 21 of file Protocol_Factory.cpp.
00022 { 00023 return this->tag_; 00024 } |
|
IOP protocol tag.
Definition at line 76 of file Protocol_Factory.h. |