Class SessionRunner.SessionState

java.lang.Object
neqsim.mcp.runners.SessionRunner.SessionState
Enclosing class:
SessionRunner

static class SessionRunner.SessionState extends Object
Internal session state holder.
Version:
1.0
Author:
Even Solbraa
  • Field Details

    • sessionId

      final String sessionId
      Unique session ID.
    • name

      final String name
      Human-readable session name.
    • process

      ProcessSystem process
      The live process system.
    • fluidJson

      String fluidJson
      The fluid JSON for rebuilding.
    • equipmentDefs

      final List<com.google.gson.JsonObject> equipmentDefs
      Equipment definitions added incrementally.
    • hasRun

      boolean hasRun
      Whether the process has been run at least once.
    • runCount

      int runCount
      Number of times run() has been called.
    • createdAt

      final long createdAt
      Creation timestamp.
    • lastAccess

      long lastAccess
      Last access timestamp.
  • Constructor Details

    • SessionState

      SessionState(String sessionId, String name)
      Creates a new session state.
      Parameters:
      sessionId - the session ID
      name - the session name