xorp

IoIpComm::JoinedMulticastGroup Class Reference

Joined multicast group class. More...

#include <io_ip_manager.hh>

List of all members.

Public Member Functions

 JoinedMulticastGroup (const string &if_name, const string &vif_name, const IPvX &group_address)
const string & if_name () const
const string & vif_name () 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
set< string > & get_receivers ()

Private Attributes

string _if_name
string _vif_name
IPvX _group_address
set< string > _receivers

Detailed Description

Joined multicast group class.


Member Function Documentation

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

Add a receiver.

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

Delete a receiver.

Parameters:
receiver_namethe name of the receiver to delete.
bool IoIpComm::JoinedMulticastGroup::empty ( ) const [inline]
Returns:
true if there are no receivers associated with this group.
bool IoIpComm::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 IoIpComm::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