TAO  2.0.8
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
TAO_IIOP_Transport Class Reference

#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.

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_

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_Message_Semantics(), ACE_Time_Value *max_time_wait=0)
 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.

Detailed Description

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


Constructor & Destructor Documentation

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

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.

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.

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

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.

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.

int TAO_IIOP_Transport::send_message ( TAO_OutputCDR stream,
TAO_Stub stub = 0,
TAO_Message_Semantics  message_semantics = TAO_Message_Semantics (),
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::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.

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

Set the Bidirectional context info in the service context list.

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.

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.


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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines