#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 |
|
Definition at line 18 of file SCIOP_Factory.cpp. References TAO_TAG_SCIOP_PROFILE.
00019 : TAO_Protocol_Factory (TAO_TAG_SCIOP_PROFILE) 00020 { 00021 } |
|
Definition at line 23 of file SCIOP_Factory.cpp.
00024 { 00025 } |
|
Dynamic linking hook.
Implements TAO_Protocol_Factory. Definition at line 59 of file SCIOP_Factory.cpp.
00060 {
00061 return 0;
00062 }
|
|
Implements TAO_Protocol_Factory. Definition at line 47 of file SCIOP_Factory.cpp. References ACE_NEW_RETURN.
00048 { 00049 TAO_Acceptor *acceptor = 0; 00050 00051 ACE_NEW_RETURN (acceptor, 00052 TAO_SCIOP_Acceptor, 00053 0); 00054 00055 return acceptor; 00056 } |
|
Implements TAO_Protocol_Factory. Definition at line 65 of file SCIOP_Factory.cpp. References ACE_NEW_RETURN.
00066 { 00067 TAO_Connector *connector = 0; 00068 00069 ACE_NEW_RETURN (connector, 00070 TAO_SCIOP_Connector, 00071 0); 00072 return connector; 00073 } |
|
Verify prefix is a match.
Implements TAO_Protocol_Factory. Definition at line 28 of file SCIOP_Factory.cpp. References ACE_OS::strcasecmp().
00029 { 00030 // Check for the proper prefix for this protocol. 00031 return (ACE_OS::strcasecmp (prefix.c_str (), ::prefix_) == 0); 00032 } |
|
Return the character used to mark where an endpoint ends and where its options begin. Implements TAO_Protocol_Factory. Definition at line 41 of file SCIOP_Factory.cpp.
00042 { 00043 return '/'; 00044 } |
|
Returns the prefix used by the protocol.
Implements TAO_Protocol_Factory. Definition at line 35 of file SCIOP_Factory.cpp.
00036 { 00037 return ::prefix_; 00038 } |
|
Implements TAO_Protocol_Factory. Definition at line 76 of file SCIOP_Factory.cpp.
00077 {
00078 return 1;
00079 }
|