Raccoon.NET
Class NeighborList
java.lang.Object
Raccoon.NET.NeighborList
- public class NeighborList
- extends java.lang.Object
NeighborList : Class contains the IP of all the neighbors.
- Author:
- Qi Zhong
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NeighborList
public NeighborList()
size
public int size()
getNeighbor
public java.lang.String getNeighbor(int index)
clear
public void clear()
addNeighbor
public void addNeighbor(java.lang.String nodeID)
contains
public boolean contains(java.lang.String nodeID)
addNeighbor
public void addNeighbor(java.lang.String ip,
java.lang.String port)