Specialization of the base TAO_Transport class to handle the server side MIOP protocol.
More...
#include <UIPMC_Mcast_Transport.h>
|
These are implementations of template methods declared by TAO_Transport.
|
virtual int | send_request (TAO_Stub *, TAO_ORB_Core *, TAO_OutputCDR &, TAO_Message_Semantics, ACE_Time_Value *) |
|
virtual int | send_message (TAO_OutputCDR &, TAO_Stub *=0, TAO_ServerRequest *=0, TAO_Message_Semantics=TAO_Message_Semantics(), ACE_Time_Value *=0) |
| Shouldn't ever be called on the server side. More...
|
|
virtual ACE_Event_Handler * | event_handler_i (void) |
|
virtual TAO_Connection_Handler * | connection_handler_i (void) |
|
virtual ssize_t | send (iovec *, int, size_t &, ACE_Time_Value const *) |
|
virtual ssize_t | recv (char *, size_t, ACE_Time_Value const *) |
| Shouldn't ever be called. We use recv_all() with different semantics. More...
|
|
virtual int | register_handler (void) |
|
Specialization of the base TAO_Transport class to handle the server side MIOP protocol.
TAO_UIPMC_Mcast_Transport::~TAO_UIPMC_Mcast_Transport |
( |
void |
| ) |
|
void TAO_UIPMC_Mcast_Transport::cleanup_packets |
( |
bool |
expired_only | ) |
|
|
private |
Cleanup either all packets or expired only depending the expired_only flag.
@TODO: These methods IMHO should have more meaningful names. The names seem to indicate nothing. Shouldn't ever be called on the server side.
Implements TAO_Transport.
@TODO: These methods IMHO should have more meaningful names. The names seem to indicate nothing. Shouldn't ever be called on the server side.
Implements TAO_Transport.
Return the next complete MIOP packet, possiably dequeueing as many as are available first from the socket.
char * TAO_UIPMC_Mcast_Transport::recv_packet |
( |
char * |
buf, |
|
|
size_t |
len, |
|
|
ACE_INET_Addr & |
from_addr, |
|
|
CORBA::UShort & |
packet_length, |
|
|
CORBA::ULong & |
packet_number, |
|
|
bool & |
stop_packet, |
|
|
u_long & |
id_hash |
|
) |
| const |
|
private |
Receive a UDP message and extract all necessary info from the MIOP header. If everything is fine return a pointer to the first byte of the non-MIOP data.
int TAO_UIPMC_Mcast_Transport::register_handler |
( |
void |
| ) |
|
|
protectedvirtual |
@TODO: These methods IMHO should have more meaningful names. The names seem to indicate nothing. Shouldn't ever be called on the server side.
Write the complete Message_Block chain to the connection. Shouldn't ever be called on the server side.
Implements TAO_Transport.
Shouldn't ever be called on the server side.
Implements TAO_Transport.
@TODO: These methods IMHO should have more meaningful names. The names seem to indicate nothing. Shouldn't ever be called on the server side.
Implements TAO_Transport.
A lock for access synchronization to complete queue.
The connection service handler used for accessing lower layer communication protocols.
A lock for ensuring that only one thread is doing recv.
The documentation for this class was generated from the following files: