#include <SCIOP_Lite_Factory.h>
Inheritance diagram for TAO_SCIOP_Lite_Protocol_Factory:
Public Member Functions | |
TAO_SCIOP_Lite_Protocol_Factory (void) | |
virtual | ~TAO_SCIOP_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) |
virtual TAO_Connector * | make_connector (void) |
virtual int | requires_explicit_endpoint (void) const |
Private Attributes | |
int | major_ |
int | minor_ |
|
Definition at line 16 of file SCIOP_Lite_Factory.cpp. References TAO_TAG_SCIOP_PROFILE.
00017 : TAO_Protocol_Factory (TAO_TAG_SCIOP_PROFILE), 00018 major_ (TAO_DEF_SCIOP_MAJOR), 00019 minor_ (TAO_DEF_SCIOP_MINOR) 00020 { 00021 } |
|
Definition at line 23 of file SCIOP_Lite_Factory.cpp.
00024 { 00025 00026 } |
|
Dynamic linking hook.
Reimplemented from TAO_Protocol_Factory. Definition at line 62 of file SCIOP_Lite_Factory.cpp.
00064 {
00065 return 0;
00066 }
|
|
Reimplemented from TAO_Protocol_Factory. Definition at line 48 of file SCIOP_Lite_Factory.cpp. References ACE_NEW_RETURN.
00049 { 00050 TAO_Acceptor *acceptor = 0; 00051 00052 // We are a Lite factory 00053 CORBA::Boolean lite_flag = 1; 00054 ACE_NEW_RETURN (acceptor, 00055 TAO_SCIOP_Acceptor (lite_flag), 00056 0); 00057 00058 return acceptor; 00059 } |
|
Reimplemented from TAO_Protocol_Factory. Definition at line 69 of file SCIOP_Lite_Factory.cpp. References ACE_NEW_RETURN.
00070 { 00071 TAO_Connector *connector = 0; 00072 00073 // We are a Lite factory 00074 CORBA::Boolean lite_flag = 1; 00075 00076 ACE_NEW_RETURN (connector, 00077 TAO_SCIOP_Connector (lite_flag), 00078 0); 00079 return connector; 00080 } |
|
Verify prefix is a match.
Reimplemented from TAO_Protocol_Factory. Definition at line 29 of file SCIOP_Lite_Factory.cpp. References ACE_OS::strcasecmp().
00030 { 00031 // Check for the proper prefix for this protocol. 00032 return (ACE_OS::strcasecmp (prefix.c_str (), ::prefix_) == 0); 00033 } |
|
Return the character used to mark where an endpoint ends and where its options begin. Reimplemented from TAO_Protocol_Factory. Definition at line 42 of file SCIOP_Lite_Factory.cpp.
00043 { 00044 return '/'; 00045 } |
|
Returns the prefix used by the protocol.
Reimplemented from TAO_Protocol_Factory. Definition at line 36 of file SCIOP_Lite_Factory.cpp.
00037 { 00038 return ::prefix_; 00039 } |
|
Implements TAO_Protocol_Factory. Definition at line 83 of file SCIOP_Lite_Factory.cpp.
00084 {
00085 return 0;
00086 }
|
|
Changing the version number can be used to provide backwards compatibility with old clients. Definition at line 65 of file SCIOP_Lite_Factory.h. |
|
Definition at line 66 of file SCIOP_Lite_Factory.h. |