xorp

IoTcpUdpComm::JoinedMulticastGroup Class Reference

Joined multicast group class. More...

#include <io_tcpudp_manager.hh>

List of all members.

Public Member Functions

 JoinedMulticastGroup (const IPvX &interface_address, const IPvX &group_address)
const IPvXinterface_address () const
const IPvXgroup_address () const
bool operator< (const JoinedMulticastGroup &other) const
 Less-Than Operator.
bool operator== (const JoinedMulticastGroup &other) const
 Equality Operator.
void add_receiver (const string &receiver_name)
 Add a receiver.
void delete_receiver (const string &receiver_name)
 Delete a receiver.
bool empty () const

Private Attributes

IPvX _interface_address
IPvX _group_address
set< string > _receivers

Detailed Description

Joined multicast group class.


Member Function Documentation

void IoTcpUdpComm::JoinedMulticastGroup::add_receiver ( const string &  receiver_name) [inline]

Add a receiver.

Parameters:
receiver_namethe name of the receiver to add.
void IoTcpUdpComm::JoinedMulticastGroup::delete_receiver ( const string &  receiver_name) [inline]

Delete a receiver.

Parameters:
receiver_namethe name of the receiver to delete.
bool IoTcpUdpComm::JoinedMulticastGroup::empty ( ) const [inline]
Returns:
true if there are no receivers associated with this group.
bool IoTcpUdpComm::JoinedMulticastGroup::operator< ( const JoinedMulticastGroup other) const [inline]

Less-Than Operator.

Parameters:
otherthe right-hand operand to compare against.
Returns:
true if the left-hand operand is numerically smaller than the right-hand operand.
bool IoTcpUdpComm::JoinedMulticastGroup::operator== ( const JoinedMulticastGroup other) const [inline]

Equality Operator.

Parameters:
otherthe right-hand operand to compare against.
Returns:
true if the left-hand operand is numerically same as the right-hand operand.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations