Interface ITransmissionInterpreter<NodeType,PayloadType,TransmissionContext>

Type Parameters:
NodeType - The type of interconnected nodes, e. g. resource containers.
PayloadType - The type of payload that is transmitted between source and target.
TransmissionContext - The simulation context, representing the current user thread of activity
All Known Implementing Classes:
DefaultSimuLizarTransmissionInterpreter

public interface ITransmissionInterpreter<NodeType,PayloadType,TransmissionContext>
The transmission interpreter encapsulates the logic how a transmission between a source and a target node impacts the current simulation w. r. t. performance relevant side effects.
  • Method Details

    • interpretTransmission

      InterpreterResult interpretTransmission(NodeType source, NodeType target, PayloadType payload, TransmissionContext transmissionContext)
      Simulate a transmission of a payload between source and target node in the context of the current user. This method blocks until the transmission is fulfilled.
      Parameters:
      source - the node where the transmission is originating
      target - the target node of the transmission
      payload - the payload which is transmitted
      transmissionContext - the context representing the current user thread of activity