#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[]) |
Initialization hook. | |
CORBA::ULong | tag (void) const |
virtual int | match_prefix (const ACE_CString &prefix) |
Verify prefix is a match. | |
virtual const char * | prefix (void) const |
Returns the prefix used by the protocol. | |
virtual char | options_delimiter (void) const |
virtual TAO_Acceptor * | make_acceptor (void) |
Create an acceptor. | |
virtual TAO_Connector * | make_connector (void) |
Create a connector. | |
virtual int | requires_explicit_endpoint (void) const=0 |
Private Attributes | |
CORBA::ULong const | tag_ |
IOP protocol tag. |
|
Definition at line 13 of file Protocol_Factory.cpp.
00014 : tag_ (tag) 00015 { 00016 } |
|
Definition at line 18 of file Protocol_Factory.cpp.
00019 { 00020 } |
|
Initialization hook.
Reimplemented from ACE_Shared_Object. Reimplemented in TAO_IIOP_Protocol_Factory, and TAO_IIOP_Lite_Protocol_Factory. Definition at line 29 of file Protocol_Factory.cpp.
00031 {
00032 return -1;
00033 }
|
|
Create an acceptor.
Reimplemented in TAO_IIOP_Protocol_Factory, and TAO_IIOP_Lite_Protocol_Factory. Definition at line 36 of file Protocol_Factory.cpp.
00037 {
00038 return 0;
00039 }
|
|
Create a connector.
Reimplemented in TAO_IIOP_Protocol_Factory, and TAO_IIOP_Lite_Protocol_Factory. Definition at line 42 of file Protocol_Factory.cpp.
00043 {
00044 return 0;
00045 }
|
|
Verify prefix is a match.
Reimplemented in TAO_IIOP_Protocol_Factory, and TAO_IIOP_Lite_Protocol_Factory. Definition at line 48 of file Protocol_Factory.cpp.
00049 {
00050 return 0;
00051 }
|
|
Return the character used to mark where an endpoint ends and where its options begin. Reimplemented in TAO_IIOP_Protocol_Factory, and TAO_IIOP_Lite_Protocol_Factory. Definition at line 60 of file Protocol_Factory.cpp. Referenced by TAO_Acceptor_Registry::extract_endpoint_options().
00061 { 00062 return '\0'; 00063 } |
|
Returns the prefix used by the protocol.
Reimplemented in TAO_IIOP_Protocol_Factory, and TAO_IIOP_Lite_Protocol_Factory. Definition at line 54 of file Protocol_Factory.cpp.
00055 { 00056 return ::the_prefix; 00057 } |
|
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, and TAO_IIOP_Lite_Protocol_Factory. |
|
The protocol tag, each concrete class will have a specific tag value. Definition at line 23 of file Protocol_Factory.cpp.
00024 { 00025 return this->tag_; 00026 } |
|
IOP protocol tag.
Definition at line 76 of file Protocol_Factory.h. |