TAO_Strategies  2.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
TAO_SHMIOP_Transport Class Reference

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

#include <SHMIOP_Transport.h>

Inheritance diagram for TAO_SHMIOP_Transport:
Inheritance graph
Collaboration diagram for TAO_SHMIOP_Transport:
Collaboration graph

Public Member Functions

 TAO_SHMIOP_Transport (TAO_SHMIOP_Connection_Handler *handler, TAO_ORB_Core *orb_core)
 Constructor. More...
 
 ~TAO_SHMIOP_Transport (void)
 Default destructor. More...
 
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_ServerRequest *request=0, TAO_Message_Semantics message_semantics=TAO_Message_Semantics(), ACE_Time_Value *max_time_wait=0)
 
- Public Member Functions inherited from TAO_Transport
virtual int tear_listen_point_list (TAO_InputCDR &cdr)
 
virtual void set_bidir_context_info (TAO_Operation_Details &opdetails)
 

Protected Member Functions

Overridden Template Methods

These are implementations of template methods declared by TAO_Transport.

virtual ACE_Event_Handlerevent_handler_i (void)
 Write the complete Message_Block chain to the connection. More...
 
virtual TAO_Connection_Handlerconnection_handler_i (void)
 Write the complete Message_Block chain to the connection. More...
 
virtual ssize_t send (iovec *iov, int iovcnt, size_t &bytes_transferred, const ACE_Time_Value *timeout=0)
 Write the complete Message_Block chain to the connection. More...
 
virtual ssize_t recv (char *buf, size_t len, const ACE_Time_Value *s=0)
 Read len bytes from into buf. More...
 
virtual int handle_input (TAO_Resume_Handle &rh, ACE_Time_Value *max_wait_time)
 Write the complete Message_Block chain to the connection. More...
 

Private Attributes

TAO_SHMIOP_Connection_Handlerconnection_handler_
 

Detailed Description

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

Constructor & Destructor Documentation

TAO_SHMIOP_Transport::TAO_SHMIOP_Transport ( TAO_SHMIOP_Connection_Handler handler,
TAO_ORB_Core orb_core 
)

Constructor.

TAO_SHMIOP_Transport::~TAO_SHMIOP_Transport ( void  )

Default destructor.

Member Function Documentation

TAO_Connection_Handler * TAO_SHMIOP_Transport::connection_handler_i ( void  )
protectedvirtual

Write the complete Message_Block chain to the connection.

Implements TAO_Transport.

ACE_Event_Handler * TAO_SHMIOP_Transport::event_handler_i ( void  )
protectedvirtual

Write the complete Message_Block chain to the connection.

Implements TAO_Transport.

int TAO_SHMIOP_Transport::handle_input ( TAO_Resume_Handle rh,
ACE_Time_Value max_wait_time 
)
protectedvirtual

Write the complete Message_Block chain to the connection.

ssize_t TAO_SHMIOP_Transport::recv ( char *  buf,
size_t  len,
const ACE_Time_Value s = 0 
)
protectedvirtual

Read len bytes from into buf.

Implements TAO_Transport.

ssize_t TAO_SHMIOP_Transport::send ( iovec *  iov,
int  iovcnt,
size_t &  bytes_transferred,
const ACE_Time_Value timeout = 0 
)
protectedvirtual

Write the complete Message_Block chain to the connection.

Implements TAO_Transport.

int TAO_SHMIOP_Transport::send_message ( TAO_OutputCDR stream,
TAO_Stub stub = 0,
TAO_ServerRequest request = 0,
TAO_Message_Semantics  message_semantics = TAO_Message_Semantics (),
ACE_Time_Value max_time_wait = 0 
)
virtual

Implements TAO_Transport.

int TAO_SHMIOP_Transport::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.

Member Data Documentation

TAO_SHMIOP_Connection_Handler* TAO_SHMIOP_Transport::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: