Public Member Functions | Private Attributes

TAO_UIPMC_Protocol_Factory Class Reference

#include <UIPMC_Factory.h>

Inheritance diagram for TAO_UIPMC_Protocol_Factory:
Inheritance graph
[legend]
Collaboration diagram for TAO_UIPMC_Protocol_Factory:
Collaboration graph
[legend]

List of all members.

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_Acceptormake_acceptor (void)
virtual TAO_Connectormake_connector (void)
virtual int requires_explicit_endpoint (void) const

Private Attributes

int major_
int minor_

Detailed Description

Definition at line 33 of file UIPMC_Factory.h.


Constructor & Destructor Documentation

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.

{
}


Member Function Documentation

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.

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;
}


Member Data Documentation

Changing the version number can be used to provide backwards compatibility with old clients.

Definition at line 61 of file UIPMC_Factory.h.

Definition at line 62 of file UIPMC_Factory.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines