Class IndexAddress
- java.lang.Object
-
- org.apache.plc4x.java.canopen.readwrite.IndexAddress
-
- All Implemented Interfaces:
Message,Serializable
public class IndexAddress extends Object implements Message
-
-
Constructor Summary
Constructors Constructor Description IndexAddress(int index, short subindex)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetIndex()intgetLengthInBits()intgetLengthInBytes()shortgetSubindex()inthashCode()voidserialize(WriteBuffer writeBuffer)static IndexAddressstaticParse(ReadBuffer readBuffer)static IndexAddressstaticParse(ReadBuffer readBuffer, Object... args)StringtoString()
-
-
-
Method Detail
-
getIndex
public int getIndex()
-
getSubindex
public short getSubindex()
-
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 IndexAddress staticParse(ReadBuffer readBuffer, Object... args) throws ParseException
- Throws:
ParseException
-
staticParse
public static IndexAddress staticParse(ReadBuffer readBuffer) throws ParseException
- Throws:
ParseException
-
-