#include <UIOP_Factory.h>
Inheritance diagram for TAO_UIOP_Protocol_Factory:
Public Member Functions | |
TAO_UIOP_Protocol_Factory (void) | |
Constructor. | |
virtual | ~TAO_UIOP_Protocol_Factory (void) |
Destructor. | |
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 |
Protocol factory methods | |
virtual TAO_Acceptor * | make_acceptor (void) |
virtual TAO_Connector * | make_connector (void) |
virtual int | requires_explicit_endpoint (void) const |
Definition at line 36 of file UIOP_Factory.h.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_UIOP_Protocol_Factory::TAO_UIOP_Protocol_Factory | ( | void | ) |
Constructor.
Definition at line 25 of file UIOP_Factory.cpp.
00026 : TAO_Protocol_Factory (TAO_TAG_UIOP_PROFILE) 00027 { 00028 }
TAO_UIOP_Protocol_Factory::~TAO_UIOP_Protocol_Factory | ( | void | ) | [virtual] |
int TAO_UIOP_Protocol_Factory::init | ( | int | argc, | |
ACE_TCHAR * | argv[] | |||
) | [virtual] |
Dynamic linking hook.
Implements TAO_Protocol_Factory.
Definition at line 66 of file UIOP_Factory.cpp.
TAO_Acceptor * TAO_UIOP_Protocol_Factory::make_acceptor | ( | void | ) | [virtual] |
Implements TAO_Protocol_Factory.
Definition at line 54 of file UIOP_Factory.cpp.
References ACE_NEW_RETURN.
00055 { 00056 TAO_Acceptor *acceptor = 0; 00057 00058 ACE_NEW_RETURN (acceptor, 00059 TAO_UIOP_Acceptor, 00060 0); 00061 00062 return acceptor; 00063 }
TAO_Connector * TAO_UIOP_Protocol_Factory::make_connector | ( | void | ) | [virtual] |
Implements TAO_Protocol_Factory.
Definition at line 72 of file UIOP_Factory.cpp.
References ACE_NEW_RETURN.
00073 { 00074 TAO_Connector *connector = 0; 00075 00076 ACE_NEW_RETURN (connector, 00077 TAO_UIOP_Connector, 00078 0); 00079 00080 return connector; 00081 }
int TAO_UIOP_Protocol_Factory::match_prefix | ( | const ACE_CString & | prefix | ) | [virtual] |
Verify prefix is a match.
Implements TAO_Protocol_Factory.
Definition at line 35 of file UIOP_Factory.cpp.
References prefix(), prefix_, and ACE_OS::strcasecmp().
00036 { 00037 // Check for the proper prefix for this protocol. 00038 return (ACE_OS::strcasecmp (prefix.c_str (), ::prefix_) == 0); 00039 }
char TAO_UIOP_Protocol_Factory::options_delimiter | ( | void | ) | const [virtual] |
Return the character used to mark where an endpoint ends and where its options begin.
Implements TAO_Protocol_Factory.
Definition at line 48 of file UIOP_Factory.cpp.
const char * TAO_UIOP_Protocol_Factory::prefix | ( | void | ) | const [virtual] |
Returns the prefix used by the protocol.
Implements TAO_Protocol_Factory.
Definition at line 42 of file UIOP_Factory.cpp.
References prefix_.
Referenced by match_prefix().
00043 { 00044 return ::prefix_; 00045 }
int TAO_UIOP_Protocol_Factory::requires_explicit_endpoint | ( | void | ) | const [virtual] |