Class EmulatorARPData

java.lang.Object
  extended byEmulatorARPData

public class EmulatorARPData
extends java.lang.Object

   
 Structure for storing data contained in the ARP cache of an emulated node
 


Constructor Summary
EmulatorARPData(java.net.InetAddress ipAddress, int port)
          Create a new structure
 
Method Summary
 java.net.InetAddress getIPAddress()
          Get the IP address
 int getPort()
          Get the port
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmulatorARPData

public EmulatorARPData(java.net.InetAddress ipAddress,
                       int port)
Create a new structure

Parameters:
ipAddress - The IP address of a neighboring node
port - The port used by the neighboring node for communications
Method Detail

getIPAddress

public java.net.InetAddress getIPAddress()
Get the IP address

Returns:
The IP address

getPort

public int getPort()
Get the port

Returns:
The port