|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.DrclObj
drcl.comp.Component
drcl.net.Module
drcl.inet.mac.ARP
This component partially implements the Address Resolution Protocol (ARP). In this release, the stalled ARP entries are not periodically purged.
ARPContract,
LL,
Serialized Form| Nested Class Summary | |
class |
ARP.ARPEntry
This class implements the ARP table entry in the ARP component. |
| Nested classes inherited from class drcl.comp.Component |
Component.Locks |
| Field Summary | |
boolean |
bypassARP
This is a flag which the user can choose to bypass the ARP operation to speed up the simulation. |
| Fields inherited from class drcl.net.Module |
downPort, PortGroup_DOWN, PortGroup_UP, upPort |
| Constructor Summary | |
ARP()
|
|
ARP(java.lang.String id_)
|
|
| Method Summary | |
void |
duplicate(java.lang.Object source_)
Duplicates the content of source_, including ID, name, child components and connections among them, to this component. |
long |
getIpAddr()
get IP address |
long |
getMacAddr()
get mac address |
java.lang.String |
getName()
Returns the (informational) name of the component. |
java.lang.String |
info()
Returns information regarding this component. |
void |
setAddresses(long ipAddr_,
long macAddr_)
Configurates the IP address and the MAC address of this interface. |
void |
setBypassARP(boolean b_)
sets the bypassarp flag. |
java.lang.String |
toString()
Returns the full path of the component. |
| Methods inherited from class drcl.net.Module |
cancelTimeout, setTimeout, setTimeoutAt |
| Methods inherited from class drcl.DrclObj |
clone |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public boolean bypassARP
| Constructor Detail |
public ARP()
public ARP(java.lang.String id_)
| Method Detail |
public void setAddresses(long ipAddr_,
long macAddr_)
public void setBypassARP(boolean b_)
public long getMacAddr()
public long getIpAddr()
public java.lang.String info()
Component
info in class Componentpublic java.lang.String toString()
Component
toString in class Componentpublic java.lang.String getName()
Component
getName in class Componentpublic void duplicate(java.lang.Object source_)
Component
duplicate in interface ObjectDuplicableduplicate in class Module
|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||