Class InstanceID
- java.lang.Object
-
- org.apache.plc4x.java.eip.readwrite.LogicalSegmentType
-
- org.apache.plc4x.java.eip.readwrite.InstanceID
-
- All Implemented Interfaces:
Message,Serializable
public class InstanceID extends LogicalSegmentType implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInstanceID.InstanceIDBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.eip.readwrite.LogicalSegmentType
LogicalSegmentType.LogicalSegmentTypeBuilder
-
-
Constructor Summary
Constructors Constructor Description InstanceID(byte format, short instance)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)bytegetFormat()shortgetInstance()intgetLengthInBits()intgetLengthInBytes()BytegetLogicalSegmentType()inthashCode()protected voidserializeLogicalSegmentTypeChild(WriteBuffer writeBuffer)static LogicalSegmentType.LogicalSegmentTypeBuilderstaticParseLogicalSegmentTypeBuilder(ReadBuffer readBuffer)StringtoString()-
Methods inherited from class org.apache.plc4x.java.eip.readwrite.LogicalSegmentType
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
-
-
-
-
Method Detail
-
getLogicalSegmentType
public Byte getLogicalSegmentType()
- Specified by:
getLogicalSegmentTypein classLogicalSegmentType
-
getFormat
public byte getFormat()
-
getInstance
public short getInstance()
-
serializeLogicalSegmentTypeChild
protected void serializeLogicalSegmentTypeChild(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializeLogicalSegmentTypeChildin classLogicalSegmentType- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classLogicalSegmentType
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classLogicalSegmentType
-
staticParseLogicalSegmentTypeBuilder
public static LogicalSegmentType.LogicalSegmentTypeBuilder staticParseLogicalSegmentTypeBuilder(ReadBuffer readBuffer) throws ParseException
- Throws:
ParseException
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classLogicalSegmentType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classLogicalSegmentType
-
toString
public String toString()
- Overrides:
toStringin classLogicalSegmentType
-
-