#include <UIPMC_Transport.h>
Public Member Functions | |
TAO_UIPMC_Transport (CONNECTION_HANDLER *handler, TAO_ORB_Core *orb_core) | |
Constructor. | |
~TAO_UIPMC_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. | |
Private Member Functions | |
void | write_unique_id (TAO_OutputCDR &miop_hdr, unsigned long unique) |
Construct and write a unique ID to the MIOP header. | |
Private Attributes | |
CONNECTION_HANDLER * | connection_handler_ |
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_TWOWAY_REQUEST, ACE_Time_Value *max_time_wait=0) |
virtual ACE_Event_Handler * | event_handler_i (void) |
virtual TAO_Connection_Handler * | connection_handler_i (void) |
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 | register_handler (void) |
TAO_UIPMC_Transport< CONNECTION_HANDLER >::TAO_UIPMC_Transport | ( | CONNECTION_HANDLER * | handler, | |
TAO_ORB_Core * | orb_core | |||
) | [inline] |
Constructor.
TAO_UIPMC_Transport< CONNECTION_HANDLER >::~TAO_UIPMC_Transport | ( | void | ) | [inline] |
Default destructor.
TAO_Connection_Handler * TAO_UIPMC_Transport< CONNECTION_HANDLER >::connection_handler_i | ( | void | ) | [inline, protected, virtual] |
@TODO: These methods IMHO should have more meaningful names. The names seem to indicate nothing.
Implements TAO_Transport.
ACE_Event_Handler * TAO_UIPMC_Transport< CONNECTION_HANDLER >::event_handler_i | ( | void | ) | [inline, protected, virtual] |
@TODO: These methods IMHO should have more meaningful names. The names seem to indicate nothing.
Implements TAO_Transport.
int TAO_UIPMC_Transport< CONNECTION_HANDLER >::handle_input | ( | TAO_Resume_Handle & | rh, | |
ACE_Time_Value * | max_wait_time = 0 | |||
) | [inline, virtual] |
ssize_t TAO_UIPMC_Transport< CONNECTION_HANDLER >::recv | ( | char * | buf, | |
size_t | len, | |||
const ACE_Time_Value * | s = 0 | |||
) | [inline, protected, virtual] |
int TAO_UIPMC_Transport< CONNECTION_HANDLER >::register_handler | ( | void | ) | [inline, protected, virtual] |
@TODO: These methods IMHO should have more meaningful names. The names seem to indicate nothing.
Reimplemented from TAO_Transport.
ssize_t TAO_UIPMC_Transport< CONNECTION_HANDLER >::send | ( | iovec * | iov, | |
int | iovcnt, | |||
size_t & | bytes_transferred, | |||
const ACE_Time_Value * | max_wait_time | |||
) | [inline, protected, virtual] |
int TAO_UIPMC_Transport< CONNECTION_HANDLER >::send_message | ( | TAO_OutputCDR & | stream, | |
TAO_Stub * | stub = 0 , |
|||
TAO_Message_Semantics | message_semantics = TAO_TWOWAY_REQUEST , |
|||
ACE_Time_Value * | max_time_wait = 0 | |||
) | [inline, virtual] |
@TODO: These methods IMHO should have more meaningful names. The names seem to indicate nothing.
Implements TAO_Transport.
int TAO_UIPMC_Transport< CONNECTION_HANDLER >::send_request | ( | TAO_Stub * | stub, | |
TAO_ORB_Core * | orb_core, | |||
TAO_OutputCDR & | stream, | |||
TAO_Message_Semantics | message_semantics, | |||
ACE_Time_Value * | max_wait_time | |||
) | [inline, virtual] |
@TODO: These methods IMHO should have more meaningful names. The names seem to indicate nothing.
Implements TAO_Transport.
void TAO_UIPMC_Transport< CONNECTION_HANDLER >::write_unique_id | ( | TAO_OutputCDR & | miop_hdr, | |
unsigned long | unique | |||
) | [inline, private] |
Construct and write a unique ID to the MIOP header.
CONNECTION_HANDLER* TAO_UIPMC_Transport< CONNECTION_HANDLER >::connection_handler_ [private] |
The connection service handler used for accessing lower layer communication protocols.