verinec.netsim.processors.applications
Class PingUDP

java.lang.Object
  extended by desmoj.core.simulator.NamedObject
      extended by desmoj.core.simulator.ModelComponent
          extended by desmoj.core.simulator.Schedulable
              extended by desmoj.core.simulator.Entity
                  extended by desmoj.core.simulator.SimProcess
                      extended by desmoj.core.simulator.NetSimProcess
                          extended by verinec.netsim.processors.applications.AbstractApplication
                              extended by verinec.netsim.processors.applications.PingUDP

public class PingUDP
extends AbstractApplication

Initiate a UDP exchange with a server. On that server, PingUDPServer must run.

Version:
$Revision: 616 $
Author:
Dominik Jungo
See Also:
PingUDPServer

Field Summary
private  String dst
           
 
Fields inherited from class verinec.netsim.processors.applications.AbstractApplication
arguments, jlogger, logger, node, src
 
Constructor Summary
PingUDP(Model model, Node node, String arguments, ILogger logger, String src, String dst)
          creates a new ping application
 
Method Summary
 void applicationLifeCycle()
          runs the application
 
Methods inherited from class verinec.netsim.processors.applications.AbstractApplication
getLogger, lifeCycle, setLogger
 
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.Schedulable
cancel, isCurrent, isScheduled, nextEntity, nextEvent, nextSchedulable, rename, reSchedule, scheduledAt
 
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
 
Methods inherited from class desmoj.core.simulator.NamedObject
getName, getQuotedName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dst

private String dst
Constructor Detail

PingUDP

public PingUDP(Model model,
               Node node,
               String arguments,
               ILogger logger,
               String src,
               String dst)
creates a new ping application

Parameters:
model - the network model
node - the node where the application runs
arguments - the arugents for ping
logger - the logger used to log everything done by ping
src - source address from where the ping comes from
dst - destination to be pinged
Method Detail

applicationLifeCycle

public void applicationLifeCycle()
Description copied from class: AbstractApplication
runs the application

Specified by:
applicationLifeCycle in class AbstractApplication
See Also:
SimProcess.lifeCycle()

Copyright © 2005 Verinec, DIUF