Class PortSegmentExtended
- java.lang.Object
-
- org.apache.plc4x.java.eip.readwrite.PortSegmentType
-
- org.apache.plc4x.java.eip.readwrite.PortSegmentExtended
-
- All Implemented Interfaces:
Message,Serializable
public class PortSegmentExtended extends PortSegmentType implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPortSegmentExtended.PortSegmentExtendedBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.eip.readwrite.PortSegmentType
PortSegmentType.PortSegmentTypeBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringaddressprotected shortlinkAddressSizeprotected byteport
-
Constructor Summary
Constructors Constructor Description PortSegmentExtended(byte port, short linkAddressSize, String address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetAddress()BooleangetExtendedLinkAddress()intgetLengthInBits()intgetLengthInBytes()shortgetLinkAddressSize()shortgetPaddingByte()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
-
-
-
-
Field Detail
-
port
protected final byte port
-
linkAddressSize
protected final short linkAddressSize
-
address
protected final String address
-
-
Constructor Detail
-
PortSegmentExtended
public PortSegmentExtended(byte port, short linkAddressSize, String address)
-
-
Method Detail
-
getExtendedLinkAddress
public Boolean getExtendedLinkAddress()
- Specified by:
getExtendedLinkAddressin classPortSegmentType
-
getPort
public byte getPort()
-
getLinkAddressSize
public short getLinkAddressSize()
-
getAddress
public String getAddress()
-
getPaddingByte
public short getPaddingByte()
-
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
-
-