#include <UIPMC_Factory.h>
Public Member Functions | |
TAO_UIPMC_Protocol_Factory (void) | |
virtual | ~TAO_UIPMC_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 33 of file UIPMC_Factory.h.
TAO_UIPMC_Protocol_Factory::TAO_UIPMC_Protocol_Factory | ( | void | ) |
Definition at line 17 of file UIPMC_Factory.cpp.
: TAO_Protocol_Factory (IOP::TAG_UIPMC), major_ (TAO_DEF_GIOP_MAJOR), minor_ (TAO_DEF_GIOP_MINOR) { }
TAO_UIPMC_Protocol_Factory::~TAO_UIPMC_Protocol_Factory | ( | void | ) | [virtual] |
Definition at line 24 of file UIPMC_Factory.cpp.
{ }
int TAO_UIPMC_Protocol_Factory::init | ( | int | argc, | |
ACE_TCHAR * | argv[] | |||
) | [virtual] |
Dynamic linking hook.
Implements TAO_Protocol_Factory.
Definition at line 60 of file UIPMC_Factory.cpp.
{
return 0;
}
TAO_Acceptor * TAO_UIPMC_Protocol_Factory::make_acceptor | ( | void | ) | [virtual] |
Implements TAO_Protocol_Factory.
Definition at line 48 of file UIPMC_Factory.cpp.
{ TAO_Acceptor *acceptor = 0; ACE_NEW_RETURN (acceptor, TAO_UIPMC_Acceptor, 0); return acceptor; }
TAO_Connector * TAO_UIPMC_Protocol_Factory::make_connector | ( | void | ) | [virtual] |
Implements TAO_Protocol_Factory.
Definition at line 67 of file UIPMC_Factory.cpp.
{ TAO_Connector *connector = 0; ACE_NEW_RETURN (connector, TAO_UIPMC_Connector, 0); return connector; }
int TAO_UIPMC_Protocol_Factory::match_prefix | ( | const ACE_CString & | prefix | ) | [virtual] |
Verify prefix is a match.
Implements TAO_Protocol_Factory.
Definition at line 29 of file UIPMC_Factory.cpp.
{ // Check for the proper prefix for this protocol. return (ACE_OS::strcasecmp (prefix.c_str (), ::the_prefix) == 0); }
char TAO_UIPMC_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 42 of file UIPMC_Factory.cpp.
{ return '/'; }
const char * TAO_UIPMC_Protocol_Factory::prefix | ( | void | ) | const [virtual] |
Returns the prefix used by the protocol.
Implements TAO_Protocol_Factory.
Definition at line 36 of file UIPMC_Factory.cpp.
{ return ::the_prefix; }
int TAO_UIPMC_Protocol_Factory::requires_explicit_endpoint | ( | void | ) | const [virtual] |
Implements TAO_Protocol_Factory.
Definition at line 78 of file UIPMC_Factory.cpp.
{ // A multicast endpoint can't be picked automatically in the // pluggable protocol framework. It must be determined from // the UIPMC profile that has the group reference. This information // is either specified by the user or generated by the // multicast group manager or other UIPMC profile generation // interface. return 1; }
int TAO_UIPMC_Protocol_Factory::major_ [private] |
Changing the version number can be used to provide backwards compatibility with old clients.
Definition at line 61 of file UIPMC_Factory.h.
int TAO_UIPMC_Protocol_Factory::minor_ [private] |
Definition at line 62 of file UIPMC_Factory.h.