Class EmulatorARPData

java.lang.Object
  extended by EmulatorARPData

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
EmulatorARPData(java.net.InetAddress ipAddress, int port, EdgeOptions options)
           
 
Method Summary
 EmulatedLink getEmulatedLink()
          Return the emulated physical link, or null if no emulation
 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

EmulatorARPData

public EmulatorARPData(java.net.InetAddress ipAddress,
                       int port,
                       EdgeOptions options)
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

getEmulatedLink

public EmulatedLink getEmulatedLink()
Return the emulated physical link, or null if no emulation

Returns:
EmulatedLink The emulated physical link