Class CommandSpecificDataItem
- java.lang.Object
-
- org.apache.plc4x.java.eip.readwrite.CommandSpecificDataItem
-
- All Implemented Interfaces:
Message,Serializable
- Direct Known Subclasses:
CipIdentity,CipSecurityInformation
public abstract class CommandSpecificDataItem extends Object implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCommandSpecificDataItem.CommandSpecificDataItemBuilder
-
Constructor Summary
Constructors Constructor Description CommandSpecificDataItem()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)abstract IntegergetItemType()intgetLengthInBits()intgetLengthInBytes()inthashCode()voidserialize(WriteBuffer writeBuffer)protected abstract voidserializeCommandSpecificDataItemChild(WriteBuffer writeBuffer)static CommandSpecificDataItemstaticParse(ReadBuffer readBuffer)static CommandSpecificDataItemstaticParse(ReadBuffer readBuffer, Object... args)StringtoString()
-
-
-
Method Detail
-
getItemType
public abstract Integer getItemType()
-
serializeCommandSpecificDataItemChild
protected abstract void serializeCommandSpecificDataItemChild(WriteBuffer writeBuffer) throws SerializationException
- Throws:
SerializationException
-
serialize
public void serialize(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializein interfaceSerializable- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage
-
staticParse
public static CommandSpecificDataItem staticParse(ReadBuffer readBuffer, Object... args) throws ParseException
- Throws:
ParseException
-
staticParse
public static CommandSpecificDataItem staticParse(ReadBuffer readBuffer) throws ParseException
- Throws:
ParseException
-
-