verinec.netsim.entities.packets
Class DLPacket
java.lang.Object
desmoj.core.simulator.NamedObject
desmoj.core.simulator.ModelComponent
desmoj.core.simulator.Schedulable
desmoj.core.simulator.Entity
verinec.netsim.entities.packets.Packet
verinec.netsim.entities.packets.Leaf
verinec.netsim.entities.packets.DLPacket
- All Implemented Interfaces:
- Cloneable
public class DLPacket
- extends Leaf
Creates a new DataLink Packet, Ethernet 802.3
- Version:
- $Revision:835 $
- Author:
- Dominik Jungo
| Methods inherited from class desmoj.core.simulator.Entity |
getPriority, isEqual, isLarger, isLargerOrEqual, isNotEqual, isSimProcess, isSmaller, isSmallerOrEqual, numQueues, schedule, scheduleAfter, scheduleBefore, setPriority |
| 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 |
DLPacket
public DLPacket(Model owner,
IAddress nextHop)
- Creates a new DataLink Packet
- Parameters:
owner - a ModelnextHop - the address of the next hop
DLPacket
public DLPacket(Model owner,
IAddress srcaddress,
IAddress dstaddress)
- Creates a new DataLink Packet
- Parameters:
owner - a Modelsrcaddress - the address of the source of this packetdstaddress - the address of the destination of this packet
getProcessorName
public String getProcessorName()
- Description copied from class:
Packet
- gets the name of the processor that will process this packet
- Specified by:
getProcessorName in class Packet
- Returns:
- the name of the processor that will process this packet
- See Also:
Packet.getProcessorName()
selfClone
protected Leaf selfClone()
- Specified by:
selfClone in class Leaf