Class Command<A>
java.lang.Object
uk.ac.manchester.spinnaker.spalloc.messages.Command<A>
- Type Parameters:
A- The type of arguments.
- Direct Known Subclasses:
CreateJobCommand, DestroyJobCommand, GetBoardAtPositionCommand, GetBoardPositionCommand, GetJobMachineInfoCommand, GetJobStateCommand, JobKeepAliveCommand, ListJobsCommand, ListMachinesCommand, NoNotifyJobCommand, NoNotifyMachineCommand, NotifyJobCommand, NotifyMachineCommand, PowerOffJobBoardsCommand, PowerOnJobBoardsCommand, VersionCommand, WhereIsJobChipCommand, WhereIsMachineBoardLogicalCommand, WhereIsMachineBoardPhysicalCommand, WhereIsMachineChipCommand
A serialisable request to spalloc. This is modelled on the calling convention
used by Python.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Command
-
-
Method Details
-
addKwArg
-
addArg
Add to the positional arguments part.- Parameters:
values- The arguments to add.
-
getCommand
- Returns:
- The command token.
-
getArgs
-
getKwargs
-