TAO_IIOP_Transport Class Reference

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

#include <IIOP_Transport.h>

Inheritance diagram for TAO_IIOP_Transport:

Inheritance graph
[legend]
Collaboration diagram for TAO_IIOP_Transport:

Collaboration graph
[legend]

List of all members.

Overridden Template Methods

Please check the documentation in "tao/Transport.h" for more details.

void update_protocol_properties (int send_buffer_size, int recv_buffer_size, int no_delay, int enable_network_priority)
 Bridge method to call a similar method on the connection handler.
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_Transport::TAO_TWOWAY_REQUEST, ACE_Time_Value *max_time_wait=0)
 Bridge method to call a similar method on the connection handler.
virtual int generate_request_header (TAO_Operation_Details &opdetails, TAO_Target_Specification &spec, TAO_OutputCDR &msg)
 Bridge method to call a similar method on the connection handler.
virtual int tear_listen_point_list (TAO_InputCDR &cdr)
 Bridge method to call a similar method on the connection handler.
virtual TAO_Connection_Handlerconnection_handler_i (void)
 Bridge method to call a similar method on the connection handler.
virtual ACE_Event_Handlerevent_handler_i (void)
 Bridge method to call a similar method on the connection handler.
virtual ssize_t send (iovec *iov, int iovcnt, size_t &bytes_transferred, const ACE_Time_Value *timeout=0)
 Bridge method to call a similar method on the connection handler.
virtual ssize_t recv (char *buf, size_t len, const ACE_Time_Value *s=0)
 Bridge method to call a similar method on the connection handler.

Public Member Functions

 TAO_IIOP_Transport (TAO_IIOP_Connection_Handler *handler, TAO_ORB_Core *orb_core)
 Constructor.

Protected Member Functions

virtual ~TAO_IIOP_Transport (void)
 Destructor.

Private Member Functions

void set_bidir_context_info (TAO_Operation_Details &opdetails)
 Set the Bidirectional context info in the service context list.
int get_listen_point (IIOP::ListenPointList &listen_point_list, TAO_Acceptor *acceptor)

Private Attributes

TAO_IIOP_Connection_Handlerconnection_handler_


Detailed Description

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

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


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_IIOP_Transport::TAO_IIOP_Transport ( TAO_IIOP_Connection_Handler handler,
TAO_ORB_Core orb_core 
)

Constructor.

TAO_IIOP_Transport::~TAO_IIOP_Transport ( void   )  [protected, virtual]

Destructor.

Protected destructor to enforce proper memory management through the reference counting mechanism.


Member Function Documentation

ACE_Event_Handler * TAO_IIOP_Transport::event_handler_i ( void   )  [protected, virtual]

Bridge method to call a similar method on the connection handler.

Implements TAO_Transport.

ssize_t TAO_IIOP_Transport::send ( iovec *  iov,
int  iovcnt,
size_t &  bytes_transferred,
const ACE_Time_Value timeout = 0 
) [protected, virtual]

Bridge method to call a similar method on the connection handler.

Implements TAO_Transport.

ssize_t TAO_IIOP_Transport::recv ( char *  buf,
size_t  len,
const ACE_Time_Value s = 0 
) [protected, virtual]

Bridge method to call a similar method on the connection handler.

Implements TAO_Transport.

void TAO_IIOP_Transport::update_protocol_properties ( int  send_buffer_size,
int  recv_buffer_size,
int  no_delay,
int  enable_network_priority 
)

Bridge method to call a similar method on the connection handler.

int TAO_IIOP_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.

int TAO_IIOP_Transport::send_message ( TAO_OutputCDR stream,
TAO_Stub stub = 0,
TAO_Message_Semantics  message_semantics = TAO_Transport::TAO_TWOWAY_REQUEST,
ACE_Time_Value max_time_wait = 0 
) [virtual]

Bridge method to call a similar method on the connection handler.

Implements TAO_Transport.

int TAO_IIOP_Transport::generate_request_header ( TAO_Operation_Details opdetails,
TAO_Target_Specification spec,
TAO_OutputCDR msg 
) [virtual]

Bridge method to call a similar method on the connection handler.

Reimplemented from TAO_Transport.

int TAO_IIOP_Transport::tear_listen_point_list ( TAO_InputCDR cdr  )  [virtual]

Bridge method to call a similar method on the connection handler.

Reimplemented from TAO_Transport.

TAO_Connection_Handler * TAO_IIOP_Transport::connection_handler_i ( void   )  [virtual]

Bridge method to call a similar method on the connection handler.

Implements TAO_Transport.

void TAO_IIOP_Transport::set_bidir_context_info ( TAO_Operation_Details opdetails  )  [private]

Set the Bidirectional context info in the service context list.

int TAO_IIOP_Transport::get_listen_point ( IIOP::ListenPointList &  listen_point_list,
TAO_Acceptor acceptor 
) [private]

Add the listen points in acceptor to the listen_point_list if this connection is in the same interface as that of the endpoints in the acceptor


Member Data Documentation

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


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

Generated on Mon Sep 15 07:40:41 2008 for TAO by  doxygen 1.5.5