Class S7AddressAny
java.lang.Object
org.apache.plc4x.java.s7.readwrite.S7Address
org.apache.plc4x.java.s7.readwrite.S7AddressAny
- All Implemented Interfaces:
Message,Serializable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.plc4x.java.s7.readwrite.S7Address
S7Address.S7AddressBuilder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final MemoryAreaprotected final byteprotected final intprotected final intprotected final intprotected final TransportSize -
Constructor Summary
ConstructorsConstructorDescriptionS7AddressAny(TransportSize transportSize, int numberOfElements, int dbNumber, MemoryArea area, int byteAddress, byte bitAddress) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetArea()byteintintintintintinthashCode()protected voidserializeS7AddressChild(WriteBuffer writeBuffer) staticParseBuilder(ReadBuffer readBuffer) toString()Methods inherited from class org.apache.plc4x.java.s7.readwrite.S7Address
serialize, staticParse, staticParseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.plc4x.java.spi.utils.Serializable
serialize
-
Field Details
-
transportSize
-
numberOfElements
protected final int numberOfElements -
dbNumber
protected final int dbNumber -
area
-
byteAddress
protected final int byteAddress -
bitAddress
protected final byte bitAddress
-
-
Constructor Details
-
S7AddressAny
public S7AddressAny(TransportSize transportSize, int numberOfElements, int dbNumber, MemoryArea area, int byteAddress, byte bitAddress)
-
-
Method Details
-
getAddressType
- Specified by:
getAddressTypein classS7Address
-
getTransportSize
-
getNumberOfElements
public int getNumberOfElements() -
getDbNumber
public int getDbNumber() -
getArea
-
getByteAddress
public int getByteAddress() -
getBitAddress
public byte getBitAddress() -
serializeS7AddressChild
- Specified by:
serializeS7AddressChildin classS7Address- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classS7Address
-
getLengthInBits
public int getLengthInBits()- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classS7Address
-
staticParseBuilder
public static S7AddressAny.S7AddressAnyBuilder staticParseBuilder(ReadBuffer readBuffer) throws ParseException - Throws:
ParseException
-
equals
-
hashCode
public int hashCode() -
toString
-