#include <UIOP_Lite_Factory.h>
Inheritance diagram for TAO_UIOP_Lite_Protocol_Factory:


Public Member Functions | |
| TAO_UIOP_Lite_Protocol_Factory (void) | |
| Constructor. | |
| virtual | ~TAO_UIOP_Lite_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 Methods | |
| 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_ |
|
|
Constructor.
Definition at line 23 of file UIOP_Lite_Factory.cpp. References TAO_DEF_GIOP_MAJOR, TAO_DEF_GIOP_MINOR, and TAO_TAG_UIOP_PROFILE.
00024 : TAO_Protocol_Factory (TAO_TAG_UIOP_PROFILE), 00025 major_ (TAO_DEF_GIOP_MAJOR), 00026 minor_ (TAO_DEF_GIOP_MINOR) 00027 { 00028 } |
|
|
Destructor.
Definition at line 30 of file UIOP_Lite_Factory.cpp.
00031 {
00032 }
|
|
||||||||||||
|
Dynamic linking hook.
Reimplemented from TAO_Protocol_Factory. Definition at line 68 of file UIOP_Lite_Factory.cpp.
00070 {
00071 return 0;
00072 }
|
|
|
Reimplemented from TAO_Protocol_Factory. Definition at line 54 of file UIOP_Lite_Factory.cpp. References ACE_NEW_RETURN.
00055 {
00056 TAO_Acceptor *acceptor = 0;
00057
00058 // We are Lite factory
00059 CORBA::Boolean lite_factory = 1;
00060 ACE_NEW_RETURN (acceptor,
00061 TAO_UIOP_Acceptor (lite_factory),
00062 0);
00063
00064 return acceptor;
00065 }
|
|
|
Reimplemented from TAO_Protocol_Factory. Definition at line 75 of file UIOP_Lite_Factory.cpp. References ACE_NEW_RETURN.
00076 {
00077 TAO_Connector *connector = 0;
00078
00079 // We are a lite factory
00080 CORBA::Boolean lite_factory = 1;
00081 ACE_NEW_RETURN (connector,
00082 TAO_UIOP_Connector (lite_factory),
00083 0);
00084
00085 return connector;
00086 }
|
|
|
Verify prefix is a match.
Reimplemented from TAO_Protocol_Factory. Definition at line 35 of file UIOP_Lite_Factory.cpp. References ACE_OS::strcasecmp().
00036 {
00037 // Check for the proper prefix for this protocol.
00038 return (ACE_OS::strcasecmp (prefix.c_str (), ::prefix_) == 0);
00039 }
|
|
|
Return the character used to mark where an endpoint ends and where its options begin. Reimplemented from TAO_Protocol_Factory. Definition at line 48 of file UIOP_Lite_Factory.cpp.
00049 {
00050 return '|';
00051 }
|
|
|
Returns the prefix used by the protocol.
Reimplemented from TAO_Protocol_Factory. Definition at line 42 of file UIOP_Lite_Factory.cpp.
00043 {
00044 return ::prefix_;
00045 }
|
|
|
Implements TAO_Protocol_Factory. Definition at line 89 of file UIOP_Lite_Factory.cpp.
00090 {
00091 return 1;
00092 }
|
|
|
Definition at line 76 of file UIOP_Lite_Factory.h. |
|
|
Definition at line 77 of file UIOP_Lite_Factory.h. |
1.3.6