Class PortSegmentNormal
- java.lang.Object
-
- org.apache.plc4x.java.eip.readwrite.PortSegmentType
-
- org.apache.plc4x.java.eip.readwrite.PortSegmentNormal
-
- All Implemented Interfaces:
Message,Serializable
public class PortSegmentNormal extends PortSegmentType implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPortSegmentNormal.PortSegmentNormalBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.eip.readwrite.PortSegmentType
PortSegmentType.PortSegmentTypeBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected shortlinkAddressprotected byteport
-
Constructor Summary
Constructors Constructor Description PortSegmentNormal(byte port, short linkAddress)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)BooleangetExtendedLinkAddress()intgetLengthInBits()intgetLengthInBytes()shortgetLinkAddress()bytegetPort()inthashCode()protected voidserializePortSegmentTypeChild(WriteBuffer writeBuffer)static PortSegmentType.PortSegmentTypeBuilderstaticParsePortSegmentTypeBuilder(ReadBuffer readBuffer)StringtoString()-
Methods inherited from class org.apache.plc4x.java.eip.readwrite.PortSegmentType
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
-
getExtendedLinkAddress
public Boolean getExtendedLinkAddress()
- Specified by:
getExtendedLinkAddressin classPortSegmentType
-
getPort
public byte getPort()
-
getLinkAddress
public short getLinkAddress()
-
serializePortSegmentTypeChild
protected void serializePortSegmentTypeChild(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializePortSegmentTypeChildin classPortSegmentType- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classPortSegmentType
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classPortSegmentType
-
staticParsePortSegmentTypeBuilder
public static PortSegmentType.PortSegmentTypeBuilder staticParsePortSegmentTypeBuilder(ReadBuffer readBuffer) throws ParseException
- Throws:
ParseException
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classPortSegmentType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classPortSegmentType
-
toString
public String toString()
- Overrides:
toStringin classPortSegmentType
-
-