#include <IIOP_Lite_Factory.h>
Inheritance diagram for TAO_IIOP_Lite_Protocol_Factory:
Public Member Functions | |
TAO_IIOP_Lite_Protocol_Factory (void) | |
virtual | ~TAO_IIOP_Lite_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_Lite_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_Lite_Factory.cpp.
00027 { 00028 00029 } |
|
Dynamic linking hook.
Reimplemented from TAO_Protocol_Factory. Definition at line 65 of file IIOP_Lite_Factory.cpp.
00067 {
00068 return 0;
00069 }
|
|
Create an acceptor.
Reimplemented from TAO_Protocol_Factory. Definition at line 51 of file IIOP_Lite_Factory.cpp. References ACE_NEW_RETURN.
00052 { 00053 TAO_Acceptor *acceptor = 0; 00054 00055 // We are a Lite factory 00056 CORBA::Boolean lite_flag = true; 00057 ACE_NEW_RETURN (acceptor, 00058 TAO_IIOP_Acceptor (lite_flag), 00059 0); 00060 00061 return acceptor; 00062 } |
|
Create a connector.
Reimplemented from TAO_Protocol_Factory. Definition at line 72 of file IIOP_Lite_Factory.cpp. References ACE_NEW_RETURN.
00073 { 00074 TAO_Connector *connector = 0; 00075 00076 // We are a Lite factory 00077 CORBA::Boolean lite_flag = true; 00078 00079 ACE_NEW_RETURN (connector, 00080 TAO_IIOP_Connector (lite_flag), 00081 0); 00082 return connector; 00083 } |
|
Verify prefix is a match.
Reimplemented from TAO_Protocol_Factory. Definition at line 32 of file IIOP_Lite_Factory.cpp. References ACE_OS::strcasecmp().
00033 { 00034 // Check for the proper prefix for this protocol. 00035 return (ACE_OS::strcasecmp (prefix.c_str (), ::the_prefix) == 0); 00036 } |
|
Return the character used to mark where an endpoint ends and where its options begin. Reimplemented from TAO_Protocol_Factory. Definition at line 45 of file IIOP_Lite_Factory.cpp.
00046 { 00047 return '/'; 00048 } |
|
Returns the prefix used by the protocol.
Reimplemented from TAO_Protocol_Factory. Definition at line 39 of file IIOP_Lite_Factory.cpp.
00040 { 00041 return ::the_prefix; 00042 } |
|
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 86 of file IIOP_Lite_Factory.cpp.
00087 {
00088 return 0;
00089 }
|
|
Changing the version number can be used to provide backwards compatibility with old clients. Definition at line 65 of file IIOP_Lite_Factory.h. |
|
Definition at line 66 of file IIOP_Lite_Factory.h. |