#include <SCIOP_Factory.h>
Inheritance diagram for TAO_SCIOP_Protocol_Factory:


Public Member Functions | |
| TAO_SCIOP_Protocol_Factory (void) | |
| virtual | ~TAO_SCIOP_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 18 of file SCIOP_Factory.cpp. References TAO_TAG_SCIOP_PROFILE.
00019 : TAO_Protocol_Factory (TAO_TAG_SCIOP_PROFILE), 00020 major_ (TAO_DEF_SCIOP_MAJOR), 00021 minor_ (TAO_DEF_SCIOP_MINOR) 00022 { 00023 } |
|
|
Definition at line 25 of file SCIOP_Factory.cpp.
00026 {
00027 }
|
|
||||||||||||
|
Dynamic linking hook.
Reimplemented from TAO_Protocol_Factory. Definition at line 61 of file SCIOP_Factory.cpp.
00063 {
00064 return 0;
00065 }
|
|
|
Reimplemented from TAO_Protocol_Factory. Definition at line 49 of file SCIOP_Factory.cpp. References ACE_NEW_RETURN.
00050 {
00051 TAO_Acceptor *acceptor = 0;
00052
00053 ACE_NEW_RETURN (acceptor,
00054 TAO_SCIOP_Acceptor,
00055 0);
00056
00057 return acceptor;
00058 }
|
|
|
Reimplemented from TAO_Protocol_Factory. Definition at line 68 of file SCIOP_Factory.cpp. References ACE_NEW_RETURN.
00069 {
00070 TAO_Connector *connector = 0;
00071
00072 ACE_NEW_RETURN (connector,
00073 TAO_SCIOP_Connector,
00074 0);
00075 return connector;
00076 }
|
|
|
Verify prefix is a match.
Reimplemented from TAO_Protocol_Factory. Definition at line 30 of file SCIOP_Factory.cpp. References ACE_OS::strcasecmp().
00031 {
00032 // Check for the proper prefix for this protocol.
00033 return (ACE_OS::strcasecmp (prefix.c_str (), ::prefix_) == 0);
00034 }
|
|
|
Return the character used to mark where an endpoint ends and where its options begin. Reimplemented from TAO_Protocol_Factory. Definition at line 43 of file SCIOP_Factory.cpp.
00044 {
00045 return '/';
00046 }
|
|
|
Returns the prefix used by the protocol.
Reimplemented from TAO_Protocol_Factory. Definition at line 37 of file SCIOP_Factory.cpp.
00038 {
00039 return ::prefix_;
00040 }
|
|
|
Implements TAO_Protocol_Factory. Definition at line 79 of file SCIOP_Factory.cpp.
00080 {
00081 return 1;
00082 }
|
|
|
Changing the version number can be used to provide backwards compatibility with old clients. Definition at line 64 of file SCIOP_Factory.h. |
|
|
Definition at line 65 of file SCIOP_Factory.h. |
1.3.6