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, 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)
virtual int generate_request_header (TAO_Operation_Details &opdetails, TAO_Target_Specification &spec, TAO_OutputCDR &msg)
virtual int messaging_init (CORBA::Octet major, CORBA::Octet minor)
 Initialising the messaging object.
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 TAO_Pluggable_Messagingmessaging_object (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, CORBA::Boolean flag)
 Constructor.
 ~Transport (void)
 Default destructor.
virtual int handle_input (TAO_Resume_Handle &rh, ACE_Time_Value *max_wait_time=0, int block=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_
TAO_Pluggable_Messagingmessaging_object_
 Our messaging object.

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,
CORBA::Boolean  flag 
)

Constructor.

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

Default destructor.


Member Function Documentation

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.

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.

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::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::SSLIOP::Transport::handle_input ( TAO_Resume_Handle rh,
ACE_Time_Value max_wait_time = 0,
int  block = 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.

int TAO::SSLIOP::Transport::messaging_init ( CORBA::Octet  major,
CORBA::Octet  minor 
) [virtual]

Initialising the messaging object.

Implements TAO_Transport.

TAO_Pluggable_Messaging * TAO::SSLIOP::Transport::messaging_object ( 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::recv ( char *  buf,
size_t  len,
const ACE_Time_Value s = 0 
) [protected, virtual]

Read len bytes from into buf.

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.

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

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

Implements TAO_Transport.

int TAO::SSLIOP::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::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::tear_listen_point_list ( TAO_InputCDR cdr  )  [virtual]

Open teh service context list and process it.

Reimplemented from TAO_Transport.


Member Data Documentation

Connection_Handler* TAO::SSLIOP::Transport::connection_handler_ [private]

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

TAO_Pluggable_Messaging* TAO::SSLIOP::Transport::messaging_object_ [private]

Our messaging object.


The documentation for this class was generated from the following files:
Generated on Mon Apr 30 23:36:12 2007 for TAO_SSLIOP by  doxygen 1.4.7-1