verinec.netsim.events
Class ARPTimeoutEvent
java.lang.Object
desmoj.core.simulator.NamedObject
desmoj.core.simulator.ModelComponent
desmoj.core.simulator.Schedulable
desmoj.core.simulator.Event
verinec.netsim.events.ARPTimeoutEvent
public class ARPTimeoutEvent
- extends Event
A ARP Timeout Event. If this one occurs it means that the ARP request was not
successfull
- Version:
- $Revision: 47 $
- Author:
- Dominik Jungo
| Methods inherited from class desmoj.core.simulator.ModelComponent |
current, currentEntity, currentEvent, currentModel, currentSimProcess, currentTime, debugIsOn, debugOff, debugOn, epsilon, getModel, isExperimentCompatible, isModelCompatible, sendDebugNote, sendMessage, sendTraceNote, sendWarning, skipTraceNote, skipTraceNote, traceIsOn, traceOff, traceOn |
address
private IAddress address
layer
private NetworkLayer layer
ARPTimeoutEvent
public ARPTimeoutEvent(Model model,
IAddress address,
NetworkLayer layer)
- Construts a new TimeoutEvent for an ARP request(that was not successful)
- Parameters:
model - a modeladdress - the address to lookup by arplayer - the networklayer that does the arp lookup
eventRoutine
public void eventRoutine(Entity arg0)
- Specified by:
eventRoutine in class Event
- See Also:
Event.eventRoutine(desmoj.core.simulator.Entity)
getAddress
public IAddress getAddress()
- gets the address to lookup by arp
- Returns:
- the address to lookup by arp
setAddress
public void setAddress(IAddress address)
- sets the address to lookup by arp
- Parameters:
address - an address to lookup by arp
getLayer
public NetworkLayer getLayer()
- gets the layer in which the timeout happend
- Returns:
- the layer in which the timeout happend
setLayer
public void setLayer(NetworkLayer layer)
- sets the layer in which the timeout happend
- Parameters:
layer - the layer in which the timeout happens