Class PortSegmentType
- java.lang.Object
-
- org.apache.plc4x.java.eip.readwrite.PortSegmentType
-
- All Implemented Interfaces:
Message,Serializable
- Direct Known Subclasses:
PortSegmentExtended,PortSegmentNormal
public abstract class PortSegmentType extends Object implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePortSegmentType.PortSegmentTypeBuilder
-
Constructor Summary
Constructors Constructor Description PortSegmentType()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)abstract BooleangetExtendedLinkAddress()intgetLengthInBits()intgetLengthInBytes()inthashCode()voidserialize(WriteBuffer writeBuffer)protected abstract voidserializePortSegmentTypeChild(WriteBuffer writeBuffer)static PortSegmentTypestaticParse(ReadBuffer readBuffer)static PortSegmentTypestaticParse(ReadBuffer readBuffer, Object... args)StringtoString()
-
-
-
Method Detail
-
getExtendedLinkAddress
public abstract Boolean getExtendedLinkAddress()
-
serializePortSegmentTypeChild
protected abstract void serializePortSegmentTypeChild(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 PortSegmentType staticParse(ReadBuffer readBuffer, Object... args) throws ParseException
- Throws:
ParseException
-
staticParse
public static PortSegmentType staticParse(ReadBuffer readBuffer) throws ParseException
- Throws:
ParseException
-
-