|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jolsrv2.repository.topology.AttachedNetworkTuple
public class AttachedNetworkTuple
The class implements the attached network tuple, as specified in OLSRv2.
Constructor Summary | |
---|---|
AttachedNetworkTuple(CidrAddress networkCAddress,
CidrAddress gatewayCAddress,
int ansn,
long time)
Constructor |
Method Summary | |
---|---|
int |
getAnsn()
Returns the ANSN |
CidrAddress |
getGatewayCAddress()
Returns the gateway CIDR address |
CidrAddress |
getNetworkCAddress()
Returns the network CIDR address |
long |
getTime()
Returns the time |
void |
setAnsn(int ansn)
Sets the ANSN |
void |
setTime(long time)
Sets the time |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttachedNetworkTuple(CidrAddress networkCAddress, CidrAddress gatewayCAddress, int ansn, long time)
networkCAddress
- the network CIDR addressgatewayCAddress
- the gateway CIDR addressansn
- the ANSNtime
- the timeMethod Detail |
---|
public CidrAddress getNetworkCAddress()
public CidrAddress getGatewayCAddress()
public int getAnsn()
public void setAnsn(int ansn)
ansn
- the ANSNpublic long getTime()
public void setTime(long time)
time
- the time
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |