|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdesmoj.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
public abstract class AbstractApplication
| Field Summary | |
|---|---|
protected String |
arguments
arguments used for the application |
protected String |
dst
Destination |
protected Logger |
jlogger
java logger used by this class |
protected ILogger |
logger
logger used by the application |
protected Node |
node
node on which the application runs |
protected String |
src
Source |
| Constructor Summary | |
|---|---|
AbstractApplication(Model model,
String name,
Node node,
String arguments,
ILogger logger,
String src,
String dst)
An abstract application |
|
| Method Summary | |
|---|---|
abstract void |
applicationLifeCycle()
runs the application |
ILogger |
getLogger()
Gets this application's logger. |
void |
lifeCycle()
Override this method in a subclass of simprocess to implement that simprocess' specific behaviour. |
void |
setLogger(ILogger logger2)
|
| 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 |
|---|
protected Node node
protected String arguments
protected ILogger logger
protected String src
protected String dst
protected Logger jlogger
| Constructor Detail |
|---|
public AbstractApplication(Model model,
String name,
Node node,
String arguments,
ILogger logger,
String src,
String dst)
model - a network modelname - name of the applicationnode - node on which the application runsarguments - arguments used for the applicationlogger - logger used by the applicationsrc - Sourcedst - Destination| Method Detail |
|---|
public ILogger getLogger()
public final void lifeCycle()
desmoj.core.simulator.NetSimProcess
lifeCycle in class NetSimProcessSimProcess.lifeCycle()public abstract void applicationLifeCycle()
public void setLogger(ILogger logger2)
|
Copyright © 2005 Verinec, DIUF | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||