Class SysexCommandReportFirmwareResponse
java.lang.Object
org.apache.plc4x.java.firmata.readwrite.SysexCommand
org.apache.plc4x.java.firmata.readwrite.SysexCommandReportFirmwareResponse
- All Implemented Interfaces:
Message,Serializable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class org.apache.plc4x.java.firmata.readwrite.SysexCommand
SysexCommand.SysexCommandBuilder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final byte[]protected final shortprotected final short -
Constructor Summary
ConstructorsConstructorDescriptionSysexCommandReportFirmwareResponse(short majorVersion, short minorVersion, byte[] fileName) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]intintshortshortinthashCode()protected voidserializeSysexCommandChild(WriteBuffer writeBuffer) staticParseBuilder(ReadBuffer readBuffer, Boolean response) toString()Methods inherited from class org.apache.plc4x.java.firmata.readwrite.SysexCommand
serialize, staticParse, staticParseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.plc4x.java.spi.utils.Serializable
serialize
-
Field Details
-
majorVersion
protected final short majorVersion -
minorVersion
protected final short minorVersion -
fileName
protected final byte[] fileName
-
-
Constructor Details
-
SysexCommandReportFirmwareResponse
public SysexCommandReportFirmwareResponse(short majorVersion, short minorVersion, byte[] fileName)
-
-
Method Details
-
getCommandType
- Specified by:
getCommandTypein classSysexCommand
-
getResponse
- Specified by:
getResponsein classSysexCommand
-
getMajorVersion
public short getMajorVersion() -
getMinorVersion
public short getMinorVersion() -
getFileName
public byte[] getFileName() -
serializeSysexCommandChild
- Specified by:
serializeSysexCommandChildin classSysexCommand- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classSysexCommand
-
getLengthInBits
public int getLengthInBits()- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classSysexCommand
-
staticParseBuilder
public static SysexCommandReportFirmwareResponse.SysexCommandReportFirmwareResponseBuilder staticParseBuilder(ReadBuffer readBuffer, Boolean response) throws ParseException - Throws:
ParseException
-
equals
- Overrides:
equalsin classSysexCommand
-
hashCode
public int hashCode()- Overrides:
hashCodein classSysexCommand
-
toString
- Overrides:
toStringin classSysexCommand
-