Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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, int message_semantics, ACE_Time_Value *max_wait_time)
virtual int send_message (TAO_OutputCDR &stream, TAO_Stub *stub=0, int 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 messaging_init (CORBA::Octet major, CORBA::Octet minor)
 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 TAO_Pluggable_Messagingmessaging_object (void)
 Access the underlying messaging object.
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.
virtual int send_message_shared (TAO_Stub *stub, int message_semantics, const ACE_Message_Block *message_block, ACE_Time_Value *max_wait_time)
 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, CORBA::Boolean flag)
 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_
TAO_Pluggable_Messagingmessaging_object_
 Our messaging object.

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_IIOP_Transport::TAO_IIOP_Transport TAO_IIOP_Connection_Handler handler,
TAO_ORB_Core orb_core,
CORBA::Boolean  flag
 

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::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::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

int TAO_IIOP_Transport::messaging_init CORBA::Octet  major,
CORBA::Octet  minor
[virtual]
 

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

Implements TAO_Transport.

TAO_Pluggable_Messaging * TAO_IIOP_Transport::messaging_object void   )  [protected, virtual]
 

Access the underlying messaging object.

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.

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,
int  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::send_message_shared TAO_Stub stub,
int  message_semantics,
const ACE_Message_Block message_block,
ACE_Time_Value max_wait_time
[protected, virtual]
 

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

Reimplemented from TAO_Transport.

int TAO_IIOP_Transport::send_request TAO_Stub stub,
TAO_ORB_Core orb_core,
TAO_OutputCDR stream,
int  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]
 

Set the Bidirectional context info in the service context list.

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

TAO_IIOP_Connection_Handler* TAO_IIOP_Transport::connection_handler_ [private]
 

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

TAO_Pluggable_Messaging* TAO_IIOP_Transport::messaging_object_ [private]
 

Our messaging object.


The documentation for this class was generated from the following files:
Generated on Thu Jun 9 00:17:31 2005 for TAO by  doxygen 1.3.9.1