Class AbstractCommandBuilder<TCmd extends net.tpky.mc.tlcp.model.Command,​T extends AbstractCommandBuilder<TCmd,​T>>

  • Direct Known Subclasses:
    AbstractTriggerLockCommandBuilder

    public abstract class AbstractCommandBuilder<TCmd extends net.tpky.mc.tlcp.model.Command,​T extends AbstractCommandBuilder<TCmd,​T>>
    extends Object
    • Constructor Detail

      • AbstractCommandBuilder

        public AbstractCommandBuilder()
    • Method Detail

      • getThis

        protected abstract T getThis()
      • setCallerData

        public T setCallerData​(byte[] callerData)
        Sets the caller data. The data passed here will be returned by the locking device in the command response. It can be used to correlate responses with requests where required.
        Parameters:
        callerData -
        Returns:
      • getCallerData

        public byte[] getCallerData()
      • build

        public abstract TCmd build()