#include <GroupEId.hh>
Collaboration diagram for GroupEId:

Public Member Functions | |
| GroupEId (struct in_addr const &groupAddr, portNumBits portNum, Scope const &scope, unsigned numSuccessiveGroupAddrs=1) | |
| GroupEId (struct in_addr const &groupAddr, struct in_addr const &sourceFilterAddr, portNumBits portNum, unsigned numSuccessiveGroupAddrs=1) | |
| GroupEId () | |
| in_addr const & | groupAddress () const |
| in_addr const & | sourceFilterAddress () const |
| Boolean | isSSM () const |
| unsigned | numSuccessiveGroupAddrs () const |
| portNumBits | portNum () const |
| const Scope & | scope () const |
Private Member Functions | |
| void | init (struct in_addr const &groupAddr, struct in_addr const &sourceFilterAddr, portNumBits portNum, Scope const &scope, unsigned numSuccessiveGroupAddrs) |
Private Attributes | |
| in_addr | fGroupAddress |
| in_addr | fSourceFilterAddress |
| unsigned | fNumSuccessiveGroupAddrs |
| portNumBits | fPortNum |
| Scope | fScope |
Definition at line 56 of file GroupEId.hh.
| GroupEId::GroupEId | ( | struct in_addr const & | groupAddr, | |
| portNumBits | portNum, | |||
| Scope const & | scope, | |||
| unsigned | numSuccessiveGroupAddrs = 1 | |||
| ) |
Definition at line 70 of file GroupEId.cpp.
References init(), and scope().
00072 { 00073 struct in_addr sourceFilterAddr; 00074 sourceFilterAddr.s_addr = ~0; // indicates no source filter 00075 00076 init(groupAddr, sourceFilterAddr, portNum, scope, numSuccessiveGroupAddrs); 00077 }
| GroupEId::GroupEId | ( | struct in_addr const & | groupAddr, | |
| struct in_addr const & | sourceFilterAddr, | |||
| portNumBits | portNum, | |||
| unsigned | numSuccessiveGroupAddrs = 1 | |||
| ) |
Definition at line 79 of file GroupEId.cpp.
References init().
00082 { 00083 init(groupAddr, sourceFilterAddr, portNum, 255, numSuccessiveGroupAddrs); 00084 }
| GroupEId::GroupEId | ( | ) |
| struct in_addr const& GroupEId::groupAddress | ( | ) | const [inline, read] |
Definition at line 69 of file GroupEId.hh.
References fGroupAddress.
Referenced by Groupsock::changeDestinationParameters(), Groupsock::groupAddress(), Groupsock::multicastSendOnly(), and Groupsock::outputToAllMembersExcept().
00069 { return fGroupAddress; }
| struct in_addr const& GroupEId::sourceFilterAddress | ( | ) | const [inline, read] |
Definition at line 70 of file GroupEId.hh.
References fSourceFilterAddress.
Referenced by Groupsock::sourceFilterAddress().
00070 { return fSourceFilterAddress; }
| Boolean GroupEId::isSSM | ( | ) | const |
Definition at line 89 of file GroupEId.cpp.
References fSourceFilterAddress.
Referenced by Groupsock::isSSM().
00089 { 00090 return fSourceFilterAddress.s_addr != netAddressBits(~0); 00091 }
| unsigned GroupEId::numSuccessiveGroupAddrs | ( | ) | const [inline] |
Definition at line 74 of file GroupEId.hh.
References fNumSuccessiveGroupAddrs.
00074 { 00075 // could be >1 for hier encoding 00076 return fNumSuccessiveGroupAddrs; 00077 }
| portNumBits GroupEId::portNum | ( | ) | const [inline] |
Definition at line 79 of file GroupEId.hh.
References fPortNum.
Referenced by Groupsock::changeDestinationParameters().
00079 { return fPortNum; }
| const Scope& GroupEId::scope | ( | ) | const [inline] |
Definition at line 81 of file GroupEId.hh.
References fScope.
Referenced by GroupEId(), and init().
00081 { return fScope; }
| void GroupEId::init | ( | struct in_addr const & | groupAddr, | |
| struct in_addr const & | sourceFilterAddr, | |||
| portNumBits | portNum, | |||
| Scope const & | scope, | |||
| unsigned | numSuccessiveGroupAddrs | |||
| ) | [private] |
Definition at line 94 of file GroupEId.cpp.
References fGroupAddress, fNumSuccessiveGroupAddrs, fPortNum, fScope, fSourceFilterAddress, and scope().
Referenced by GroupEId().
00098 { 00099 fGroupAddress = groupAddr; 00100 fSourceFilterAddress = sourceFilterAddr; 00101 fNumSuccessiveGroupAddrs = numSuccessiveGroupAddrs; 00102 fPortNum = portNum; 00103 fScope = scope; 00104 }
struct in_addr GroupEId::fGroupAddress [read, private] |
struct in_addr GroupEId::fSourceFilterAddress [read, private] |
Definition at line 92 of file GroupEId.hh.
Referenced by init(), isSSM(), and sourceFilterAddress().
unsigned GroupEId::fNumSuccessiveGroupAddrs [private] |
portNumBits GroupEId::fPortNum [private] |
Scope GroupEId::fScope [private] |
1.5.2