verinec.netsim.processors.applications
Class Ping
java.lang.Object
desmoj.core.simulator.NamedObject
desmoj.core.simulator.ModelComponent
desmoj.core.simulator.Schedulable
desmoj.core.simulator.Entity
desmoj.core.simulator.SimProcess
desmoj.core.simulator.NetSimProcess
verinec.netsim.processors.applications.AbstractApplication
verinec.netsim.processors.applications.Ping
public class Ping
- extends AbstractApplication
Connect to a server with TCP.
On that server, PingServer must run.
- Version:
- $Revision: 973 $
- Author:
- Dominik Jungo
- See Also:
PingServer
| Methods inherited from class desmoj.core.simulator.NetSimProcess |
activate, activateAfter, activateBefore, canCooperate, clearInterruptCode, cooperate, getInterruptCode, getMaster, getSlaveWaitQueue, getSupervisor, getUsedResources, hold, interrupt, isBlocked, isComponent, isInterrupted, isTerminated, obtainResources, passivate, prepareTransport, reActivate, resetMaster, returnAllResources, returnResources, setBlocked, setSlaveWaitQueue, setSupervisor |
| 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 |
Ping
public Ping(Model model,
Node node,
String arguments,
ILogger logger,
String src,
String dst)
- creates a new ping application
- Parameters:
model - the network modelnode - the node where the application runsarguments - the arugents for pinglogger - the logger used to log everything done by pingsrc - source address from where the ping comes fromdst - destination to be pinged
applicationLifeCycle
public void applicationLifeCycle()
- Description copied from class:
AbstractApplication
- runs the application
- Specified by:
applicationLifeCycle in class AbstractApplication
- See Also:
SimProcess.lifeCycle()