xorp

SourceGroup Class Reference

Class to store (S,G) (Source, Group) pair of addresses. More...

#include <mrt.hh>

List of all members.

Public Member Functions

 SourceGroup (const IPvX &source_addr, const IPvX &group_addr)
 Constructor for a source and a group address.
const IPvXsource_addr () const
 Get the source address.
const IPvXgroup_addr () const
 Get the group address.

Private Attributes

IPvX _source_addr
IPvX _group_addr

Detailed Description

Class to store (S,G) (Source, Group) pair of addresses.


Constructor & Destructor Documentation

SourceGroup::SourceGroup ( const IPvX source_addr,
const IPvX group_addr 
) [inline]

Constructor for a source and a group address.

Parameters:
source_addrthe source address.
group_addrthe group address.

Member Function Documentation

const IPvX& SourceGroup::group_addr ( ) const [inline]

Get the group address.

Returns:
the group address.
const IPvX& SourceGroup::source_addr ( ) const [inline]

Get the source address.

Returns:
the source address.

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