Class SDOBlockRequest
- java.lang.Object
-
- org.apache.plc4x.java.canopen.readwrite.SDORequest
-
- org.apache.plc4x.java.canopen.readwrite.SDOBlockRequest
-
- All Implemented Interfaces:
Message,Serializable
public class SDOBlockRequest extends SDORequest implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSDOBlockRequest.SDOBlockRequestBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.canopen.readwrite.SDORequest
SDORequest.SDORequestBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected SDOBlockDatablock
-
Constructor Summary
Constructors Constructor Description SDOBlockRequest(SDOBlockData block)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)SDOBlockDatagetBlock()SDORequestCommandgetCommand()intgetLengthInBits()intgetLengthInBytes()inthashCode()protected voidserializeSDORequestChild(WriteBuffer writeBuffer)static SDORequest.SDORequestBuilderstaticParseSDORequestBuilder(ReadBuffer readBuffer, SDORequestCommand command)StringtoString()-
Methods inherited from class org.apache.plc4x.java.canopen.readwrite.SDORequest
serialize, staticParse, staticParse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.plc4x.java.spi.utils.Serializable
serialize
-
-
-
-
Field Detail
-
block
protected final SDOBlockData block
-
-
Constructor Detail
-
SDOBlockRequest
public SDOBlockRequest(SDOBlockData block)
-
-
Method Detail
-
getCommand
public SDORequestCommand getCommand()
- Specified by:
getCommandin classSDORequest
-
getBlock
public SDOBlockData getBlock()
-
serializeSDORequestChild
protected void serializeSDORequestChild(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializeSDORequestChildin classSDORequest- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classSDORequest
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classSDORequest
-
staticParseSDORequestBuilder
public static SDORequest.SDORequestBuilder staticParseSDORequestBuilder(ReadBuffer readBuffer, SDORequestCommand command) throws ParseException
- Throws:
ParseException
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classSDORequest
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSDORequest
-
toString
public String toString()
- Overrides:
toStringin classSDORequest
-
-