TAO_PortableGroup 2.0.4
Public Member Functions | Private Member Functions | Private Attributes
TAO_UIPMC_Transport< CONNECTION_HANDLER > Class Template Reference

Specialization of the base TAO_Transport class to handle the MIOP protocol. More...

#include <UIPMC_Transport.h>

Inheritance diagram for TAO_UIPMC_Transport< CONNECTION_HANDLER >:
Inheritance graph
[legend]
Collaboration diagram for TAO_UIPMC_Transport< CONNECTION_HANDLER >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TAO_UIPMC_Transport (CONNECTION_HANDLER *handler, TAO_ORB_Core *orb_core)
 Constructor.
 ~TAO_UIPMC_Transport (void)
 Default destructor.
virtual int handle_input (TAO_Resume_Handle &rh, ACE_Time_Value *max_wait_time=0)
 Look for the documentation in Transport.h.

Private Member Functions

void write_unique_id (TAO_OutputCDR &miop_hdr, unsigned long unique)
 Construct and write a unique ID to the MIOP header.

Private Attributes

CONNECTION_HANDLER * connection_handler_

Overridden Template Methods

These are implementations of template methods declared by TAO_Transport.

virtual int send_request (TAO_Stub *stub, TAO_ORB_Core *orb_core, TAO_OutputCDR &stream, TAO_Message_Semantics message_semantics, ACE_Time_Value *max_wait_time)
virtual int send_message (TAO_OutputCDR &stream, TAO_Stub *stub=0, TAO_Message_Semantics message_semantics=TAO_TWOWAY_REQUEST, ACE_Time_Value *max_time_wait=0)
virtual ACE_Event_Handlerevent_handler_i (void)
virtual TAO_Connection_Handlerconnection_handler_i (void)
virtual ssize_t send (iovec *iov, int iovcnt, size_t &bytes_transferred, const ACE_Time_Value *max_wait_time)
 Write the complete Message_Block chain to the connection.
virtual ssize_t recv (char *buf, size_t len, const ACE_Time_Value *s=0)
 Read len bytes from into buf.
virtual int register_handler (void)

Detailed Description

template<typename CONNECTION_HANDLER>
class TAO_UIPMC_Transport< CONNECTION_HANDLER >

Specialization of the base TAO_Transport class to handle the MIOP protocol.


Constructor & Destructor Documentation

template<typename CONNECTION_HANDLER >
TAO_UIPMC_Transport< CONNECTION_HANDLER >::TAO_UIPMC_Transport ( CONNECTION_HANDLER *  handler,
TAO_ORB_Core orb_core 
)

Constructor.

template<typename CONNECTION_HANDLER >
TAO_UIPMC_Transport< CONNECTION_HANDLER >::~TAO_UIPMC_Transport ( void  )

Default destructor.


Member Function Documentation

template<typename CONNECTION_HANDLER >
TAO_Connection_Handler * TAO_UIPMC_Transport< CONNECTION_HANDLER >::connection_handler_i ( void  ) [protected, virtual]

@TODO: These methods IMHO should have more meaningful names. The names seem to indicate nothing.

Implements TAO_Transport.

template<typename CONNECTION_HANDLER >
ACE_Event_Handler * TAO_UIPMC_Transport< CONNECTION_HANDLER >::event_handler_i ( void  ) [protected, virtual]

@TODO: These methods IMHO should have more meaningful names. The names seem to indicate nothing.

Implements TAO_Transport.

template<typename CONNECTION_HANDLER >
int TAO_UIPMC_Transport< CONNECTION_HANDLER >::handle_input ( TAO_Resume_Handle rh,
ACE_Time_Value max_wait_time = 0 
) [virtual]

Look for the documentation in Transport.h.

Reimplemented from TAO_Transport.

template<typename CONNECTION_HANDLER >
ssize_t TAO_UIPMC_Transport< CONNECTION_HANDLER >::recv ( char *  buf,
size_t  len,
const ACE_Time_Value s = 0 
) [protected, virtual]

Read len bytes from into buf.

Implements TAO_Transport.

template<typename CONNECTION_HANDLER >
int TAO_UIPMC_Transport< CONNECTION_HANDLER >::register_handler ( void  ) [protected, virtual]

@TODO: These methods IMHO should have more meaningful names. The names seem to indicate nothing.

Reimplemented from TAO_Transport.

template<typename CONNECTION_HANDLER >
ssize_t TAO_UIPMC_Transport< CONNECTION_HANDLER >::send ( iovec *  iov,
int  iovcnt,
size_t &  bytes_transferred,
const ACE_Time_Value max_wait_time 
) [protected, virtual]

Write the complete Message_Block chain to the connection.

Implements TAO_Transport.

template<typename CONNECTION_HANDLER >
int TAO_UIPMC_Transport< CONNECTION_HANDLER >::send_message ( TAO_OutputCDR stream,
TAO_Stub stub = 0,
TAO_Message_Semantics  message_semantics = TAO_TWOWAY_REQUEST,
ACE_Time_Value max_time_wait = 0 
) [virtual]

@TODO: These methods IMHO should have more meaningful names. The names seem to indicate nothing.

Implements TAO_Transport.

template<typename CONNECTION_HANDLER >
int TAO_UIPMC_Transport< CONNECTION_HANDLER >::send_request ( TAO_Stub stub,
TAO_ORB_Core orb_core,
TAO_OutputCDR stream,
TAO_Message_Semantics  message_semantics,
ACE_Time_Value max_wait_time 
) [virtual]

@TODO: These methods IMHO should have more meaningful names. The names seem to indicate nothing.

Implements TAO_Transport.

template<typename CONNECTION_HANDLER >
void TAO_UIPMC_Transport< CONNECTION_HANDLER >::write_unique_id ( TAO_OutputCDR miop_hdr,
unsigned long  unique 
) [private]

Construct and write a unique ID to the MIOP header.


Member Data Documentation

template<typename CONNECTION_HANDLER >
CONNECTION_HANDLER* TAO_UIPMC_Transport< CONNECTION_HANDLER >::connection_handler_ [private]

The connection service handler used for accessing lower layer communication protocols.


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