verinec.netsim.processors.applications
Class PingUDPServer

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.PingUDPServer

public class PingUDPServer
extends AbstractApplication

Server for UDP exchange. Could be linked with the generic-service of the configuration schema. For now, you use an input event to create the service.

Version:
$Revision: 594 $
Author:
Dominik Jungo

Field Summary
 
Fields inherited from class verinec.netsim.processors.applications.AbstractApplication
arguments, dst, jlogger, logger, node, src
 
Constructor Summary
PingUDPServer(Model model, Node node, String arguments)
          creates a new ping server
 
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
 

Constructor Detail

PingUDPServer

public PingUDPServer(Model model,
                     Node node,
                     String arguments)
creates a new ping server

Parameters:
model - the network model
node - the node where the application runs
arguments - the arguments for ping
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