Package org.yamcs.client.processor
Class ProcessorClient.CommandBuilder
java.lang.Object
org.yamcs.client.processor.ProcessorClient.CommandBuilder
- Enclosing class:
- ProcessorClient
-
Method Summary
Modifier and TypeMethodDescriptionint
Can be called just after issue() has been called to get the size of the last command issuedissue()
Issue the command, and returns a future that awaits the initial response.Issue the command, and returns a future that awaits the initial response on the specified executor.toString()
withArgument
(String name, Object value) withComment
(String comment) withDryRun
(boolean dryRun) withExtra
(String option, Yamcs.Value value) withOrigin
(String origin) withSequenceNumber
(int sequenceNumber) withVerifierConfig
(String verifier, Commanding.VerifierConfig config)
-
Method Details
-
withArgument
-
withSequenceNumber
-
withOrigin
-
withComment
-
withDisableTransmissionConstraints
-
withDisableVerification
-
withVerifierConfig
public ProcessorClient.CommandBuilder withVerifierConfig(String verifier, Commanding.VerifierConfig config) -
withDryRun
-
withExtra
-
issue
Issue the command, and returns a future that awaits the initial response. -
issue
Issue the command, and returns a future that awaits the initial response on the specified executor.A use case for this is to provide a single-threaded executor, thereby guaranteeing in-order delivery.
-
getSizeOfTheLastCommandIssued
public int getSizeOfTheLastCommandIssued()Can be called just after issue() has been called to get the size of the last command issuednot thread safe
-
toString
-