net.jolsrv2.repository.neighbourhood
Class NaaTuple

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

public class NaaTuple
extends java.lang.Object

The class implements the neighbour address association tuple, as specified in OLSRv2.

Author:
Andreas Schjønhaug

Constructor Summary
NaaTuple(java.util.ArrayList<CidrAddress> neighbourCAddresses, long time)
          Constructor
 
Method Summary
 java.util.ArrayList<CidrAddress> getCAddresses()
          Returns the CIDR addresses
 long getTime()
          Returns the time
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NaaTuple

public NaaTuple(java.util.ArrayList<CidrAddress> neighbourCAddresses,
                long time)
Constructor

Parameters:
neighbourCAddresses - the negihbour CIDR address
time - the time
Method Detail

getCAddresses

public java.util.ArrayList<CidrAddress> getCAddresses()
Returns the CIDR addresses

Returns:
the CIDR addresses

getTime

public long getTime()
Returns the time

Returns:
the time