#include <IIOP_Transport.h>
Inheritance diagram for TAO_IIOP_Transport:
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_Handler * | connection_handler_i (void) |
Bridge method to call a similar method on the connection handler. | |
virtual ACE_Event_Handler * | event_handler_i (void) |
Bridge method to call a similar method on the connection handler. | |
virtual TAO_Pluggable_Messaging * | messaging_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_Handler * | connection_handler_ |
TAO_Pluggable_Messaging * | messaging_object_ |
Our messaging object. |
Specialization of the base TAO_Transport class to handle the IIOP protocol.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL 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.
ACE_Event_Handler * TAO_IIOP_Transport::event_handler_i | ( | void | ) | [protected, virtual] |
TAO_Pluggable_Messaging * TAO_IIOP_Transport::messaging_object | ( | void | ) | [protected, virtual] |
ssize_t TAO_IIOP_Transport::send | ( | iovec * | iov, | |
int | iovcnt, | |||
size_t & | bytes_transferred, | |||
const ACE_Time_Value * | timeout = 0 | |||
) | [protected, virtual] |
ssize_t TAO_IIOP_Transport::recv | ( | char * | buf, | |
size_t | len, | |||
const ACE_Time_Value * | s = 0 | |||
) | [protected, virtual] |
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] |
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.
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] |
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] |
int TAO_IIOP_Transport::generate_request_header | ( | TAO_Operation_Details & | opdetails, | |
TAO_Target_Specification & | spec, | |||
TAO_OutputCDR & | msg | |||
) | [virtual] |
int TAO_IIOP_Transport::messaging_init | ( | CORBA::Octet | major, | |
CORBA::Octet | minor | |||
) | [virtual] |
int TAO_IIOP_Transport::tear_listen_point_list | ( | TAO_InputCDR & | cdr | ) | [virtual] |
TAO_Connection_Handler * TAO_IIOP_Transport::connection_handler_i | ( | void | ) | [virtual] |
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::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.