TAO_Strategies
2.0.8
|
Specialization of the base TAO_Transport class to handle the COIOP protocol. More...
#include <COIOP_Transport.h>
Public Member Functions | |
TAO_COIOP_Transport (TAO_COIOP_Connection_Handler *handler, TAO_ORB_Core *orb_core) | |
Constructor. | |
~TAO_COIOP_Transport (void) | |
Default destructor. | |
virtual int | handle_input (TAO_Resume_Handle &rh, ACE_Time_Value *max_wait_time=0) |
Look for the documentation in Transport.h. | |
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_Message_Semantics(), ACE_Time_Value *max_time_wait=0) |
Protected Member Functions | |
Overridden Template Methods | |
These are implementations of template methods declared by TAO_Transport. | |
virtual ACE_Event_Handler * | event_handler_i (void) |
Write the complete Message_Block chain to the connection. | |
virtual TAO_Connection_Handler * | connection_handler_i (void) |
Write the complete Message_Block chain to the connection. | |
virtual ssize_t | send (iovec *iov, int iovcnt, size_t &bytes_transferred, const ACE_Time_Value *max_wait_time) |
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. | |
virtual int | send_message_shared (TAO_Stub *stub, TAO_Message_Semantics message_semantics, const ACE_Message_Block *message_block, ACE_Time_Value *max_wait_time) |
Write the complete Message_Block chain to the connection. | |
virtual int | register_handler (void) |
Write the complete Message_Block chain to the connection. | |
Private Attributes | |
TAO_COIOP_Connection_Handler * | connection_handler_ |
Specialization of the base TAO_Transport class to handle the COIOP protocol.
TAO_COIOP_Transport::TAO_COIOP_Transport | ( | TAO_COIOP_Connection_Handler * | handler, |
TAO_ORB_Core * | orb_core | ||
) |
Constructor.
TAO_COIOP_Transport::~TAO_COIOP_Transport | ( | void | ) |
Default destructor.
TAO_Connection_Handler * TAO_COIOP_Transport::connection_handler_i | ( | void | ) | [protected, virtual] |
Write the complete Message_Block chain to the connection.
Implements TAO_Transport.
ACE_Event_Handler * TAO_COIOP_Transport::event_handler_i | ( | void | ) | [protected, virtual] |
Write the complete Message_Block chain to the connection.
Implements TAO_Transport.
int TAO_COIOP_Transport::handle_input | ( | TAO_Resume_Handle & | rh, |
ACE_Time_Value * | max_wait_time = 0 |
||
) | [virtual] |
Look for the documentation in Transport.h.
Reimplemented from TAO_Transport.
ssize_t TAO_COIOP_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_COIOP_Transport::register_handler | ( | void | ) | [protected, virtual] |
Write the complete Message_Block chain to the connection.
Reimplemented from TAO_Transport.
ssize_t TAO_COIOP_Transport::send | ( | iovec * | iov, |
int | iovcnt, | ||
size_t & | bytes_transferred, | ||
const ACE_Time_Value * | max_wait_time | ||
) | [protected, virtual] |
Write the complete Message_Block chain to the connection.
Implements TAO_Transport.
int TAO_COIOP_Transport::send_message | ( | TAO_OutputCDR & | stream, |
TAO_Stub * | stub = 0 , |
||
TAO_Message_Semantics | message_semantics = TAO_Message_Semantics () , |
||
ACE_Time_Value * | max_time_wait = 0 |
||
) | [virtual] |
Implements TAO_Transport.
int TAO_COIOP_Transport::send_message_shared | ( | TAO_Stub * | stub, |
TAO_Message_Semantics | message_semantics, | ||
const ACE_Message_Block * | message_block, | ||
ACE_Time_Value * | max_wait_time | ||
) | [protected, virtual] |
Write the complete Message_Block chain to the connection.
Reimplemented from TAO_Transport.
int TAO_COIOP_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] |
Implements TAO_Transport.
The connection service handler used for accessing lower layer communication protocols.