Class SessionRequest
java.lang.Object
uk.ac.manchester.spinnaker.alloc.nmpi.SessionRequest
A NMPI create session request.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet the ID of the collaboratory to create the session in.Get the ID of the user who is requesting the creation.voidSets the collab.voidsetHardwareConfig(Map<String, String> hardwareConfig) voidsetHardwarePlatform(String hardwarePlatform) voidSets the userId.
- 
Constructor Details- 
SessionRequestpublic SessionRequest()
 
- 
- 
Method Details- 
getCollabGet the ID of the collaboratory to create the session in.- Returns:
- the collab.
 
- 
setCollabSets the collab.- Parameters:
- collab- the collab to set
 
- 
getUserIdGet the ID of the user who is requesting the creation.- Returns:
- the userId
 
- 
setUserIdSets the userId.- Parameters:
- userId- the userId to set
 
- 
getHardwarePlatform- Returns:
- the hardware platform to create the session in.
 
- 
setHardwarePlatform- Parameters:
- hardwarePlatform- the Hardware Platform to set
 
- 
getHardwareConfig- Returns:
- the specified configuration of the hardware to use.
 
- 
setHardwareConfig- Parameters:
- hardwareConfig- the Hardware Configuration to set
 
 
-