ACE_RMCast_UDP_Proxy Class Reference

Define the proxy implementation for UDP based communication. More...

#include <RMCast_UDP_Proxy.h>

Inheritance diagram for ACE_RMCast_UDP_Proxy:

Inheritance graph
[legend]
Collaboration diagram for ACE_RMCast_UDP_Proxy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ACE_RMCast_UDP_Proxy (ACE_RMCast_IO_UDP *io_udp, const ACE_INET_Addr &peer_addr)
 Constructor.
virtual ~ACE_RMCast_UDP_Proxy (void)
 Destructor.
int receive_message (char *buffer, size_t size)
const ACE_INET_Addrpeer_addr (void) const
 Make the peer address available.
virtual int reply_data (ACE_RMCast::Data &)
 Send messages directly to the peer.
virtual int reply_poll (ACE_RMCast::Poll &)
 Send messages directly to the peer.
virtual int reply_ack_join (ACE_RMCast::Ack_Join &)
 Send messages directly to the peer.
virtual int reply_ack_leave (ACE_RMCast::Ack_Leave &)
 Send messages directly to the peer.
virtual int reply_ack (ACE_RMCast::Ack &)
 Send messages directly to the peer.
virtual int reply_join (ACE_RMCast::Join &)
 Send messages directly to the peer.
virtual int reply_leave (ACE_RMCast::Leave &)
 Send messages directly to the peer.

Private Attributes

ACE_RMCast_IO_UDPio_udp_
 The IO facade.
ACE_INET_Addr peer_addr_
 The remote peer's address.

Detailed Description

Define the proxy implementation for UDP based communication.

Proxy objects are transport specific, they are responsible for storing the remote peer addressing information. This class implements the UDP version of a proxy.


Constructor & Destructor Documentation

ACE_RMCast_UDP_Proxy::ACE_RMCast_UDP_Proxy ACE_RMCast_IO_UDP io_udp,
const ACE_INET_Addr peer_addr
 

Constructor.

The

Parameters:
io_udp argument is kept to send the replys through the right socket. The
peer_addr is the address used byu the peer to receive responses.

ACE_RMCast_UDP_Proxy::~ACE_RMCast_UDP_Proxy void   )  [virtual]
 

Destructor.


Member Function Documentation

ACE_INLINE const ACE_INET_Addr & ACE_RMCast_UDP_Proxy::peer_addr void   )  const
 

Make the peer address available.

int ACE_RMCast_UDP_Proxy::receive_message char *  buffer,
size_t  size
 

Receive a message, parse and send it upstream in the right format.

int ACE_RMCast_UDP_Proxy::reply_ack ACE_RMCast::Ack  )  [virtual]
 

Send messages directly to the peer.

Send a message directly to the peer, i.e. the message is not sent through the multicast group and it may not be processed by all the layers in the stack.

Implements ACE_RMCast_Proxy.

int ACE_RMCast_UDP_Proxy::reply_ack_join ACE_RMCast::Ack_Join  )  [virtual]
 

Send messages directly to the peer.

Send a message directly to the peer, i.e. the message is not sent through the multicast group and it may not be processed by all the layers in the stack.

Reimplemented from ACE_RMCast_Proxy.

int ACE_RMCast_UDP_Proxy::reply_ack_leave ACE_RMCast::Ack_Leave  )  [virtual]
 

Send messages directly to the peer.

Send a message directly to the peer, i.e. the message is not sent through the multicast group and it may not be processed by all the layers in the stack.

Implements ACE_RMCast_Proxy.

int ACE_RMCast_UDP_Proxy::reply_data ACE_RMCast::Data  )  [virtual]
 

Send messages directly to the peer.

Send a message directly to the peer, i.e. the message is not sent through the multicast group and it may not be processed by all the layers in the stack.

Implements ACE_RMCast_Proxy.

int ACE_RMCast_UDP_Proxy::reply_join ACE_RMCast::Join  )  [virtual]
 

Send messages directly to the peer.

Send a message directly to the peer, i.e. the message is not sent through the multicast group and it may not be processed by all the layers in the stack.

Implements ACE_RMCast_Proxy.

int ACE_RMCast_UDP_Proxy::reply_leave ACE_RMCast::Leave  )  [virtual]
 

Send messages directly to the peer.

Send a message directly to the peer, i.e. the message is not sent through the multicast group and it may not be processed by all the layers in the stack.

Implements ACE_RMCast_Proxy.

int ACE_RMCast_UDP_Proxy::reply_poll ACE_RMCast::Poll  )  [virtual]
 

Send messages directly to the peer.

Send a message directly to the peer, i.e. the message is not sent through the multicast group and it may not be processed by all the layers in the stack.

Implements ACE_RMCast_Proxy.


Member Data Documentation

ACE_RMCast_IO_UDP* ACE_RMCast_UDP_Proxy::io_udp_ [private]
 

The IO facade.

ACE_INET_Addr ACE_RMCast_UDP_Proxy::peer_addr_ [private]
 

The remote peer's address.


The documentation for this class was generated from the following files:
Generated on Wed Nov 23 15:54:26 2005 for ACE_RMCast by  doxygen 1.4.5