Package | Description |
---|---|
desmoj.core.report |
Reporters for the DESMO-J core
Reportable components able and output generation. |
desmoj.core.simulator |
The core simulation infrastructure and basic components.
|
desmoj.extensions.crossbar |
A higher-level construct to facilitate indirect process synchronization based on exchanging massages.
|
desmoj.extensions.xml.report |
XML output infrastructure.
|
Modifier and Type | Class and Description |
---|---|
class |
DebugNote
Represents a DebugNote produced by a simulation run whenever the modeller
enables the debug mode for a specific ModelComponent.
|
class |
ErrorMessage
An ErrorMessage is used to signal invalid situations to the modeller.
|
class |
TraceNote
Represents a message produced by a simulation run whenever entities and / or
events are scheduled, created, deleted or enqueued.
|
Modifier and Type | Method and Description |
---|---|
void |
DebugFileOut.receive(Message m)
Receives a debugnote and writes its contents formatted to a HTML table
into a file in the user's default directory.
|
void |
ErrorFileOut.receive(Message m)
Receives a TraceNote and writes its contents formatted to a HTML table
into a file in the user's default directory.
|
void |
MessageDistributor.receive(Message m)
Receives a message and forwards it to all messagereceiver objects
registered with the type of message sent.
|
void |
MessageReceiver.receive(Message m)
Implement this method to define the behaviour of the messagereceiver when
messages are sent to it.
|
void |
NullOutput.receive(Message m) |
void |
ReportFileOut.receive(Message m)
Messages are not handled by this reportout, so this method simply
returns.
|
void |
ScreenOutput.receive(Message m)
Messages given as parameter to this method have their description
attribute printed in one String on the screen.
|
abstract void |
StandardFileOut.receive(Message m)
Implement this method to define how the information carried in the given
message is represented in a file.
|
void |
TraceFileOut.receive(Message m)
Receives a TraceNote and writes its contents formatted to a HTML table
into a file in the user's default directory.
|
Modifier and Type | Method and Description |
---|---|
void |
ModelComponent.sendMessage(Message m)
Sends a message to the messagedistributor handled by the experiment.
|
Modifier and Type | Class and Description |
---|---|
class |
CrossbarMessage
A message which a process can send to a
MessageCrossbar or a
MessageChannel to activate processes waiting on the them. |
Modifier and Type | Method and Description |
---|---|
void |
XMLReportOutput.receive(Message m)
method to be called when a Message is received. this class does not
handle Messages so it will simply return
|
void |
XMLTraceOutput.receive(Message m)
method to be called when a Message is received.
|