TAO  2.1.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes
TAO_Protocol_Factory Class Reference

#include <Protocol_Factory.h>

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

List of all members.

Public Member Functions

 TAO_Protocol_Factory (CORBA::ULong tag)
virtual ~TAO_Protocol_Factory (void)
virtual int init (int argc, ACE_TCHAR *argv[])=0
 Initialization hook.
CORBA::ULong tag (void) const
virtual int match_prefix (const ACE_CString &prefix)=0
 Verify prefix is a match.
virtual const char * prefix (void) const =0
 Returns the prefix used by the protocol.
virtual char options_delimiter (void) const =0
virtual TAO_Acceptormake_acceptor (void)=0
 Create an acceptor.
virtual TAO_Connectormake_connector (void)=0
 Create a connector.
virtual int requires_explicit_endpoint (void) const =0

Private Attributes

CORBA::ULong const tag_
 IOP protocol tag.

Constructor & Destructor Documentation


Member Function Documentation

virtual int TAO_Protocol_Factory::init ( int  argc,
ACE_TCHAR argv[] 
)
pure virtual

Initialization hook.

Reimplemented from ACE_Shared_Object.

Implemented in TAO_IIOP_Protocol_Factory.

virtual TAO_Acceptor* TAO_Protocol_Factory::make_acceptor ( void  )
pure virtual

Create an acceptor.

Implemented in TAO_IIOP_Protocol_Factory.

virtual TAO_Connector* TAO_Protocol_Factory::make_connector ( void  )
pure virtual

Create a connector.

Implemented in TAO_IIOP_Protocol_Factory.

virtual int TAO_Protocol_Factory::match_prefix ( const ACE_CString prefix)
pure virtual

Verify prefix is a match.

Implemented in TAO_IIOP_Protocol_Factory.

virtual char TAO_Protocol_Factory::options_delimiter ( void  ) const
pure virtual

Return the character used to mark where an endpoint ends and where its options begin.

Implemented in TAO_IIOP_Protocol_Factory.

virtual const char* TAO_Protocol_Factory::prefix ( void  ) const
pure virtual

Returns the prefix used by the protocol.

Implemented in TAO_IIOP_Protocol_Factory.

virtual int TAO_Protocol_Factory::requires_explicit_endpoint ( void  ) const
pure virtual

Some protocols should not create a default endpoint unless the user specifies a -ORBEndpoint option. For example, local IPC (aka UNIX domain sockets) is unable to remove the rendezvous point if the server crashes. For those protocols it is better to create the endpoint only if the user requests one.

Implemented in TAO_IIOP_Protocol_Factory.

The protocol tag, each concrete class will have a specific tag value.


Member Data Documentation

IOP protocol tag.


The documentation for this class was generated from the following files: