TAO::SSLIOP::Transport Class Reference

SSLIOP-specific transport implementation. More...

#include <SSLIOP_Transport.h>

Inheritance diagram for TAO::SSLIOP::Transport:

Inheritance graph
[legend]
Collaboration diagram for TAO::SSLIOP::Transport:

Collaboration graph
[legend]

List of all members.

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_Transport::TAO_TWOWAY_REQUEST, ACE_Time_Value *max_time_wait=0)
virtual int generate_request_header (TAO_Operation_Details &opdetails, TAO_Target_Specification &spec, TAO_OutputCDR &msg)
virtual int tear_listen_point_list (TAO_InputCDR &cdr)
 Open teh service context list and process it.
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 *timeout=0)
 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.

Public Member Functions

 Transport (Connection_Handler *handler, TAO_ORB_Core *orb_core)
 Constructor.
 ~Transport (void)
 Default destructor.
virtual int handle_input (TAO_Resume_Handle &rh, ACE_Time_Value *max_wait_time=0)

Private Member Functions

void set_bidir_context_info (TAO_Operation_Details &opdetails)
int get_listen_point (IIOP::ListenPointList &listen_point_list, TAO_Acceptor *acceptor)

Private Attributes

Connection_Handlerconnection_handler_


Detailed Description

SSLIOP-specific transport implementation.

SSLIOP-specific transport implementation.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO::SSLIOP::Transport::Transport ( Connection_Handler handler,
TAO_ORB_Core orb_core 
)

Constructor.

TAO::SSLIOP::Transport::~Transport ( void   ) 

Default destructor.


Member Function Documentation

int TAO::SSLIOP::Transport::handle_input ( TAO_Resume_Handle rh,
ACE_Time_Value max_wait_time = 0 
) [virtual]

Overload of the handle_input () in the TAO_Transport class. This is required to set up the state guard. The thread-per-connection and wait on RW strategies call this handle_input ().

Reimplemented from TAO_Transport.

ACE_Event_Handler * TAO::SSLIOP::Transport::event_handler_i ( void   )  [protected, virtual]

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

Implements TAO_Transport.

TAO_Connection_Handler * TAO::SSLIOP::Transport::connection_handler_i ( void   )  [protected, virtual]

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

Implements TAO_Transport.

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

Write the complete Message_Block chain to the connection.

Implements TAO_Transport.

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

Read len bytes from into buf.

Implements TAO_Transport.

int TAO::SSLIOP::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::SSLIOP::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]

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

Implements TAO_Transport.

int TAO::SSLIOP::Transport::generate_request_header ( TAO_Operation_Details opdetails,
TAO_Target_Specification spec,
TAO_OutputCDR msg 
) [virtual]

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

Reimplemented from TAO_Transport.

int TAO::SSLIOP::Transport::tear_listen_point_list ( TAO_InputCDR cdr  )  [virtual]

Open teh service context list and process it.

Reimplemented from TAO_Transport.

void TAO::SSLIOP::Transport::set_bidir_context_info ( TAO_Operation_Details opdetails  )  [private]

Set the Bidirectional context info in the service context list.

int TAO::SSLIOP::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 08:41:01 2008 for TAO_SSLIOP by  doxygen 1.5.5