TAO  2.1.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
TAO_Protocol_Factory Class Referenceabstract

#include <Protocol_Factory.h>

Inheritance diagram for TAO_Protocol_Factory:
Inheritance graph
Collaboration diagram for TAO_Protocol_Factory:
Collaboration graph

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
- Public Member Functions inherited from ACE_Service_Object
 ACE_Service_Object (ACE_Reactor *=0)
virtual ~ACE_Service_Object (void)
virtual int suspend (void)
virtual int resume (void)
virtual ~ACE_Event_Handler (void)
virtual ACE_HANDLE get_handle (void) const
virtual void set_handle (ACE_HANDLE)
virtual int priority (void) const
virtual void priority (int priority)
virtual int handle_input (ACE_HANDLE fd=ACE_INVALID_HANDLE)
virtual int handle_output (ACE_HANDLE fd=ACE_INVALID_HANDLE)
virtual int handle_exception (ACE_HANDLE fd=ACE_INVALID_HANDLE)
virtual int handle_timeout (const ACE_Time_Value &current_time, const void *act=0)
virtual int handle_exit (ACE_Process *)
virtual int handle_close (ACE_HANDLE handle, ACE_Reactor_Mask close_mask)
virtual int handle_signal (int signum, siginfo_t *=0, ucontext_t *=0)
virtual int resume_handler (void)
virtual int handle_qos (ACE_HANDLE=ACE_INVALID_HANDLE)
virtual int handle_group_qos (ACE_HANDLE=ACE_INVALID_HANDLE)
virtual void reactor (ACE_Reactor *reactor)
virtual ACE_Reactorreactor (void) const
reactor_timer_interface (void) const
virtual Reference_Count add_reference (void)
virtual Reference_Count remove_reference (void)
Reference_Counting_Policyreference_counting_policy (void)
 ACE_Shared_Object (void)
virtual ~ACE_Shared_Object (void)
virtual int fini (void)
virtual int info (ACE_TCHAR **info_string, size_t length=0) const
- Public Member Functions inherited from ACE_Event_Handler
Reference_Counting_Policyreference_counting_policy (void)
- Public Member Functions inherited from ACE_Shared_Object
 ACE_Shared_Object (void)

Private Attributes

CORBA::ULong const tag_
 IOP protocol tag.

Additional Inherited Members

- Public Types inherited from ACE_Service_Object
typedef long Reference_Count
- Static Public Member Functions inherited from ACE_Service_Object
static ACE_THR_FUNC_RETURN read_adapter (void *event_handler)
static int register_stdin_handler (ACE_Event_Handler *eh, ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr, int flags=THR_DETACHED)
static int remove_stdin_handler (ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr)
- Public Attributes inherited from ACE_Service_Object
- Protected Types inherited from ACE_Service_Object
typedef ACE_Atomic_Op
- Protected Member Functions inherited from ACE_Service_Object
 ACE_Event_Handler (ACE_Reactor *=0, int priority=ACE_Event_Handler::LO_PRIORITY)
- Protected Attributes inherited from ACE_Service_Object
Atomic_Reference_Count reference_count_

Constructor & Destructor Documentation

TAO_Protocol_Factory::TAO_Protocol_Factory ( CORBA::ULong  tag)
TAO_Protocol_Factory::~TAO_Protocol_Factory ( void  )

Member Function Documentation

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

Initialization hook.

Reimplemented from ACE_Service_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.

CORBA::ULong TAO_Protocol_Factory::tag ( void  ) const

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

Member Data Documentation

CORBA::ULong const TAO_Protocol_Factory::tag_

IOP protocol tag.

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