Class SessionRequest

java.lang.Object
uk.ac.manchester.spinnaker.alloc.nmpi.SessionRequest

public class SessionRequest
extends Object
A NMPI create session request.
  • Constructor Details

  • Method Details

    • getCollab

      public String getCollab()
      Get the ID of the collaboratory to create the session in.
      Returns:
      the collab.
    • setCollab

      public void setCollab​(String collab)
      Sets the collab.
      Parameters:
      collab - the collab to set
    • getUserId

      public String getUserId()
      Get the ID of the user who is requesting the creation.
      Returns:
      the userId
    • setUserId

      public void setUserId​(String userId)
      Sets the userId.
      Parameters:
      userId - the userId to set
    • getHardwarePlatform

      public String getHardwarePlatform()
      Returns:
      the hardware platform to create the session in.
    • setHardwarePlatform

      public void setHardwarePlatform​(String hardwarePlatform)
      Parameters:
      hardwarePlatform - the Hardware Platform to set
    • getHardwareConfig

      public Map<String,​String> getHardwareConfig()
      Returns:
      the specified configuration of the hardware to use.
    • setHardwareConfig

      public void setHardwareConfig​(Map<String,​String> hardwareConfig)
      Parameters:
      hardwareConfig - the Hardware Configuration to set