Class SessionResponse
java.lang.Object
uk.ac.manchester.spinnaker.alloc.nmpi.SessionResponse
public class SessionResponse extends Object
A NMPI session response.
-
Constructor Summary
Constructors Constructor Description SessionResponse()
-
Method Summary
Modifier and Type Method Description Integer
getId()
Get the ID of the session.ResourceUsage
getResourceUsage()
Get the count of how much resource has been used by the job.void
setId(Integer id)
Sets the id.void
setResourceUsage(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
-