#include <IIOP_Factory.h>
Inheritance diagram for TAO_IIOP_Protocol_Factory:
Public Member Functions | |
TAO_IIOP_Protocol_Factory (void) | |
virtual | ~TAO_IIOP_Protocol_Factory (void) |
virtual int | init (int argc, ACE_TCHAR *argv[]) |
Dynamic linking hook. | |
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 |
Private Attributes | |
int const | major_ |
int const | minor_ |
|
Definition at line 19 of file IIOP_Factory.cpp. References TAO_DEF_GIOP_MAJOR, and TAO_DEF_GIOP_MINOR.
00020 : TAO_Protocol_Factory (IOP::TAG_INTERNET_IOP), 00021 major_ (TAO_DEF_GIOP_MAJOR), 00022 minor_ (TAO_DEF_GIOP_MINOR) 00023 { 00024 } |
|
Definition at line 26 of file IIOP_Factory.cpp.
00027 { 00028 } |
|
Dynamic linking hook.
Reimplemented from TAO_Protocol_Factory. Definition at line 62 of file IIOP_Factory.cpp.
00064 {
00065 return 0;
00066 }
|
|
Create an acceptor.
Reimplemented from TAO_Protocol_Factory. Definition at line 50 of file IIOP_Factory.cpp. References ACE_NEW_RETURN.
00051 { 00052 TAO_Acceptor *acceptor = 0; 00053 00054 ACE_NEW_RETURN (acceptor, 00055 TAO_IIOP_Acceptor, 00056 0); 00057 00058 return acceptor; 00059 } |
|
Create a connector.
Reimplemented from TAO_Protocol_Factory. Definition at line 69 of file IIOP_Factory.cpp. References ACE_NEW_RETURN.
00070 { 00071 TAO_Connector *connector = 0; 00072 00073 ACE_NEW_RETURN (connector, 00074 TAO_IIOP_Connector, 00075 0); 00076 return connector; 00077 } |
|
Verify prefix is a match.
Reimplemented from TAO_Protocol_Factory. Definition at line 31 of file IIOP_Factory.cpp. References ACE_OS::strcasecmp().
00032 { 00033 // Check for the proper prefix for this protocol. 00034 return (ACE_OS::strcasecmp (prefix.c_str (), ::the_prefix) == 0); 00035 } |
|
Return the character used to mark where an endpoint ends and where its options begin. Reimplemented from TAO_Protocol_Factory. Definition at line 44 of file IIOP_Factory.cpp.
00045 { 00046 return '/'; 00047 } |
|
Returns the prefix used by the protocol.
Reimplemented from TAO_Protocol_Factory. Definition at line 38 of file IIOP_Factory.cpp.
00039 { 00040 return ::the_prefix; 00041 } |
|
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. Implements TAO_Protocol_Factory. Definition at line 80 of file IIOP_Factory.cpp.
00081 {
00082 return 0;
00083 }
|
|
Changing the version number can be used to provide backwards compatibility with old clients. Definition at line 63 of file IIOP_Factory.h. |
|
Definition at line 64 of file IIOP_Factory.h. |