Interface CommandReceivingComponent

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void receiveCommand​(byte command, byte[] data)
      This method is called if a command is received and might be interesting for this particular component.
    • Method Detail

      • receiveCommand

        void receiveCommand​(byte command,
                            byte[] data)
        This method is called if a command is received and might be interesting for this particular component.
        Parameters:
        command - the byte encoding the command
        data - additional data that was sent together with the command