Class SessionRequest
java.lang.Object
uk.ac.manchester.spinnaker.alloc.nmpi.SessionRequest
public class SessionRequest extends Object
A NMPI create session request.
-
Constructor Summary
Constructors Constructor Description SessionRequest()
-
Method Summary
Modifier and Type Method Description String
getCollab()
Get the ID of the collaboratory to create the session in.Map<String,String>
getHardwareConfig()
String
getHardwarePlatform()
String
getUserId()
Get the ID of the user who is requesting the creation.void
setCollab(String collab)
Sets the collab.void
setHardwareConfig(Map<String,String> hardwareConfig)
void
setHardwarePlatform(String hardwarePlatform)
void
setUserId(String userId)
Sets the userId.
-
Constructor Details
-
SessionRequest
public SessionRequest()
-
-
Method Details
-
getCollab
Get the ID of the collaboratory to create the session in.- Returns:
- the collab.
-
setCollab
Sets the collab.- Parameters:
collab
- the collab to set
-
getUserId
Get the ID of the user who is requesting the creation.- Returns:
- the userId
-
setUserId
Sets 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
-