Class SessionResponse
java.lang.Object
uk.ac.manchester.spinnaker.alloc.nmpi.SessionResponse
A NMPI session response.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Get the ID of the session.Get the count of how much resource has been used by the job.voidSets the id.voidsetResourceUsage(ResourceUsage resourceUsage) Sets the resourceUsage.
-
Constructor Details
-
SessionResponse
public SessionResponse()
-
-
Method Details
-
getId
Get the ID of the session.- Returns:
- the id
-
setId
Sets the id.- Parameters:
id- the id to set
-
getResourceUsage
Get the count of how much resource has been used by the job.- Returns:
- the resourceUsage
-
setResourceUsage
Sets the resourceUsage.- Parameters:
resourceUsage- the resourceUsage to set
-