ACE_RMCast_Proxy Class Reference

Local representation for remote peers. More...

#include <RMCast_Proxy.h>

Inheritance diagram for ACE_RMCast_Proxy:

Inheritance graph
[legend]
Collaboration diagram for ACE_RMCast_Proxy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ACE_RMCast_Proxy (void)
 Constructor.
virtual ~ACE_RMCast_Proxy (void)
 Destructor.
virtual ACE_UINT32 next_expected (void) const
virtual ACE_UINT32 highest_received (void) const
virtual int ack (ACE_RMCast::Ack &)
virtual int reply_data (ACE_RMCast::Data &)=0
 Send messages directly to the peer.
virtual int reply_poll (ACE_RMCast::Poll &)=0
 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 &)=0
 Send messages directly to the peer.
virtual int reply_ack (ACE_RMCast::Ack &)=0
 Send messages directly to the peer.
virtual int reply_join (ACE_RMCast::Join &)=0
 Send messages directly to the peer.
virtual int reply_leave (ACE_RMCast::Leave &)=0
 Send messages directly to the peer.

Private Attributes

ACE_UINT32 next_expected_
ACE_UINT32 highest_received_

Detailed Description

Local representation for remote peers.

Both senders and receivers in the multicast group need to maintain explicit representations of their "peers". For example, a sender needs to know the list of all the receivers and what messages they have reported as successfully received. Likewise, the receiver needs to maintain separate state for each remote sender, and must be able to disconnect from all of them gracefully when needed. The RMCast_Proxy class is an opaque representation of such a peer, and hides all the networking details from the rest of the system.


Constructor & Destructor Documentation

ACE_INLINE ACE_RMCast_Proxy::ACE_RMCast_Proxy void   ) 
 

Constructor.

ACE_RMCast_Proxy::~ACE_RMCast_Proxy void   )  [virtual]
 

Destructor.


Member Function Documentation

int ACE_RMCast_Proxy::ack ACE_RMCast::Ack  )  [virtual]
 

Proxies process the ACK sequence numbers to cache the ack information from the peer.

Reimplemented from ACE_RMCast_Module.

ACE_UINT32 ACE_RMCast_Proxy::highest_received void   )  const [virtual]
 

Please read the documentation in ACE_RMCast::Ack

ACE_UINT32 ACE_RMCast_Proxy::next_expected void   )  const [virtual]
 

Please read the documentation in ACE_RMCast::Ack

virtual int ACE_RMCast_Proxy::reply_ack ACE_RMCast::Ack  )  [pure 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.

Implemented in ACE_RMCast_UDP_Proxy.

int ACE_RMCast_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 in ACE_RMCast_UDP_Proxy.

virtual int ACE_RMCast_Proxy::reply_ack_leave ACE_RMCast::Ack_Leave  )  [pure 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.

Implemented in ACE_RMCast_UDP_Proxy.

virtual int ACE_RMCast_Proxy::reply_data ACE_RMCast::Data  )  [pure 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.

Implemented in ACE_RMCast_UDP_Proxy.

virtual int ACE_RMCast_Proxy::reply_join ACE_RMCast::Join  )  [pure 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.

Implemented in ACE_RMCast_UDP_Proxy.

virtual int ACE_RMCast_Proxy::reply_leave ACE_RMCast::Leave  )  [pure 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.

Implemented in ACE_RMCast_UDP_Proxy.

virtual int ACE_RMCast_Proxy::reply_poll ACE_RMCast::Poll  )  [pure 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.

Implemented in ACE_RMCast_UDP_Proxy.


Member Data Documentation

ACE_UINT32 ACE_RMCast_Proxy::highest_received_ [private]
 

Cache the sequence numbers reported from the remote peer using Ack messages

ACE_UINT32 ACE_RMCast_Proxy::next_expected_ [private]
 

Cache the sequence numbers reported from the remote peer using Ack messages


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