Class Services
- java.lang.Object
-
- org.apache.plc4x.java.eip.readwrite.Services
-
- All Implemented Interfaces:
Message,Serializable
public class Services extends Object implements Message
-
-
Constructor Summary
Constructors Constructor Description Services(List<Integer> offsets, List<CipService> services)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetLengthInBits()intgetLengthInBytes()List<Integer>getOffsets()List<CipService>getServices()inthashCode()voidserialize(WriteBuffer writeBuffer)static ServicesstaticParse(ReadBuffer readBuffer, Integer servicesLen)static ServicesstaticParse(ReadBuffer readBuffer, Object... args)StringtoString()
-
-
-
Field Detail
-
services
protected final List<CipService> services
-
-
Constructor Detail
-
Services
public Services(List<Integer> offsets, List<CipService> services)
-
-
Method Detail
-
getServices
public List<CipService> getServices()
-
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 Services staticParse(ReadBuffer readBuffer, Object... args) throws ParseException
- Throws:
ParseException
-
staticParse
public static Services staticParse(ReadBuffer readBuffer, Integer servicesLen) throws ParseException
- Throws:
ParseException
-
-