Z T Command
ZTCommand
Author
Alexandre Lemoult <a.lemoult@zhortech.com>
Constructors
ZTCommand
Link copied to clipboard
Types
CommandAckPredicate
Link copied to clipboard
class CommandAckPredicate(predicate: AckFunPredicate, timeoutConfiguration: ZTCommand.TimeoutConfiguration?, error: Throwable?)
Content copied to clipboard
CommandPredicate
Link copied to clipboard
CommandTimeoutConfigurationObservable
Link copied to clipboard
inner class CommandTimeoutConfigurationObservable(commandPredicate: ZTCommand.CommandPredicate?, timeoutConfiguration: ZTCommand.TimeoutConfiguration, error: Throwable)
Content copied to clipboard
TimeoutConfiguration
Link copied to clipboard
Functions
addAckFailed
Link copied to clipboard
fun addAckFailed(function: (cmdAck: ZTCommandAck) -> Boolean, error: Throwable): ZTCommand
Content copied to clipboard
addAckSuccess
Link copied to clipboard
fun addAckSuccess(function: (cmdAck: ZTCommandAck) -> Boolean, timeout: Long, timeUnit: TimeUnit, error: Throwable): ZTCommand
Content copied to clipboard
checkCommand
Link copied to clipboard
fun checkCommand()
Content copied to clipboard
getArrayOfTimeoutsConfiguration
Link copied to clipboard
getByteArray
Link copied to clipboard
getCommandId
Link copied to clipboard
getMessageType
Link copied to clipboard
getObservable
Link copied to clipboard
isPairCommand
Link copied to clipboard
onAcknowledge
Link copied to clipboard
onWriteError
Link copied to clipboard
onWriteSuccess
Link copied to clipboard
pair
Link copied to clipboard
setMessageType
Link copied to clipboard
setTimeout
Link copied to clipboard
Properties
commandCompletedSubject
Link copied to clipboard
expectationsConfigurations
Link copied to clipboard
val expectationsConfigurations: MutableList<ZTCommand.CommandTimeoutConfigurationObservable>
Content copied to clipboard
pairResolutionStrategy
Link copied to clipboard
pairResult
Link copied to clipboard
pairSubject
Link copied to clipboard
type
Link copied to clipboard
Inheritors
ZTCalibrationCommand
Link copied to clipboard