#include <SSLIOP_Transport.h>
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_Handler * | event_handler_i (void) |
virtual TAO_Connection_Handler * | connection_handler_i (void) |
virtual TAO_Pluggable_Messaging * | messaging_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) | |
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_Handler * | connection_handler_ |
TAO_Pluggable_Messaging * | messaging_object_ |
Our messaging object. |
SSLIOP-specific transport implementation.
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.
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] |
Implements TAO_Transport.
TAO_Connection_Handler * TAO::SSLIOP::Transport::connection_handler_i | ( | void | ) | [protected, virtual] |
Implements TAO_Transport.
TAO_Pluggable_Messaging * TAO::SSLIOP::Transport::messaging_object | ( | void | ) | [protected, virtual] |
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] |
ssize_t TAO::SSLIOP::Transport::recv | ( | char * | buf, | |
size_t | len, | |||
const ACE_Time_Value * | s = 0 | |||
) | [protected, virtual] |
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] |
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] |
Implements TAO_Transport.
int TAO::SSLIOP::Transport::generate_request_header | ( | TAO_Operation_Details & | opdetails, | |
TAO_Target_Specification & | spec, | |||
TAO_OutputCDR & | msg | |||
) | [virtual] |
Reimplemented from TAO_Transport.
int TAO::SSLIOP::Transport::messaging_init | ( | CORBA::Octet | major, | |
CORBA::Octet | minor | |||
) | [virtual] |
int TAO::SSLIOP::Transport::tear_listen_point_list | ( | TAO_InputCDR & | cdr | ) | [virtual] |
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.
The connection service handler used for accessing lower layer communication protocols.
Our messaging object.