net.jolsrv2.repository.neighbourhood
Class MprSelectorTuple

java.lang.Object
  extended by net.jolsrv2.repository.neighbourhood.MprSelectorTuple

public class MprSelectorTuple
extends java.lang.Object

The class implements the MPR selector tuple, as specified in OLSRv2.

Author:
Andreas Schjønhaug

Constructor Summary
MprSelectorTuple(CidrAddress cidrAddress, long time)
          Constructor
 
Method Summary
 CidrAddress getCAddress()
          Returns the CIDR address
 long getTime()
          Returns the time
 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

MprSelectorTuple

public MprSelectorTuple(CidrAddress cidrAddress,
                        long time)
Constructor

Parameters:
cidrAddress - the CIDR address
time - the time
Method Detail

getCAddress

public CidrAddress getCAddress()
Returns the CIDR address

Returns:
the CIDR address

getTime

public long getTime()
Returns the time

Returns:
the time

setTime

public void setTime(long time)
Sets the time

Parameters:
time - the time