Class CycServiceItemType
- java.lang.Object
-
- org.apache.plc4x.java.s7.readwrite.CycServiceItemType
-
- All Implemented Interfaces:
Message,Serializable
- Direct Known Subclasses:
CycServiceItemAnyType,CycServiceItemDbReadType
public abstract class CycServiceItemType extends Object implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCycServiceItemType.CycServiceItemTypeBuilder
-
Field Summary
Fields Modifier and Type Field Description protected shortbyteLengthstatic ShortFUNCTIONIDprotected shortsyntaxId
-
Constructor Summary
Constructors Constructor Description CycServiceItemType(short byteLength, short syntaxId)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)shortgetByteLength()shortgetFunctionId()intgetLengthInBits()intgetLengthInBytes()shortgetSyntaxId()inthashCode()voidserialize(WriteBuffer writeBuffer)protected abstract voidserializeCycServiceItemTypeChild(WriteBuffer writeBuffer)static CycServiceItemTypestaticParse(ReadBuffer readBuffer)static CycServiceItemTypestaticParse(ReadBuffer readBuffer, Object... args)StringtoString()
-
-
-
Field Detail
-
FUNCTIONID
public static final Short FUNCTIONID
-
byteLength
protected final short byteLength
-
syntaxId
protected final short syntaxId
-
-
Method Detail
-
getByteLength
public short getByteLength()
-
getSyntaxId
public short getSyntaxId()
-
getFunctionId
public short getFunctionId()
-
serializeCycServiceItemTypeChild
protected abstract void serializeCycServiceItemTypeChild(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 CycServiceItemType staticParse(ReadBuffer readBuffer, Object... args) throws ParseException
- Throws:
ParseException
-
staticParse
public static CycServiceItemType staticParse(ReadBuffer readBuffer) throws ParseException
- Throws:
ParseException
-
-