edu.cmu.emulator.world
Class EmuNIC
java.lang.Object
edu.cmu.emulator.world.EmuNIC
public class EmuNIC
- extends Object
Stores information about antennas attached to the node, and
the IP addresses associated with them. Emulates a physical
wireless NIC attached to the node.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
emuNode
protected EmuNode emuNode
antennas
protected Antenna[] antennas
ip
protected byte[] ip
EmuNIC
public EmuNIC(EmuNode emuNode,
byte[] ip)
getNode
public EmuNode getNode()
getIP
public byte[] getIP()
getIPString
public String getIPString()
setAntennas
public void setAntennas(Antenna[] antennas)
getNumAntennas
public int getNumAntennas()
getAntenna
public Antenna getAntenna(int index)
Copyright © 2013. All Rights Reserved.