Class CipService
- java.lang.Object
-
- org.apache.plc4x.java.eip.readwrite.CipService
-
- All Implemented Interfaces:
Message,Serializable
- Direct Known Subclasses:
CipConnectedRequest,CipConnectedResponse,CipConnectionManagerCloseRequest,CipConnectionManagerCloseResponse,CipConnectionManagerRequest,CipConnectionManagerResponse,CipReadRequest,CipReadResponse,CipUnconnectedRequest,CipWriteRequest,CipWriteResponse,GetAttributeAllRequest,GetAttributeAllResponse,GetAttributeListRequest,GetAttributeListResponse,GetAttributeSingleRequest,GetAttributeSingleResponse,MultipleServiceRequest,MultipleServiceResponse,SetAttributeAllRequest,SetAttributeAllResponse,SetAttributeListRequest,SetAttributeListResponse,SetAttributeSingleRequest,SetAttributeSingleResponse
public abstract class CipService extends Object implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCipService.CipServiceBuilder
-
Constructor Summary
Constructors Constructor Description CipService()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)abstract BooleangetConnected()intgetLengthInBits()intgetLengthInBytes()abstract BooleangetResponse()abstract BytegetService()inthashCode()voidserialize(WriteBuffer writeBuffer)protected abstract voidserializeCipServiceChild(WriteBuffer writeBuffer)static CipServicestaticParse(ReadBuffer readBuffer, Boolean connected, Integer serviceLen)static CipServicestaticParse(ReadBuffer readBuffer, Object... args)StringtoString()
-
-
-
Method Detail
-
getConnected
public abstract Boolean getConnected()
-
getResponse
public abstract Boolean getResponse()
-
getService
public abstract Byte getService()
-
serializeCipServiceChild
protected abstract void serializeCipServiceChild(WriteBuffer writeBuffer) throws SerializationException
- Throws:
SerializationException
-
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 CipService staticParse(ReadBuffer readBuffer, Object... args) throws ParseException
- Throws:
ParseException
-
staticParse
public static CipService staticParse(ReadBuffer readBuffer, Boolean connected, Integer serviceLen) throws ParseException
- Throws:
ParseException
-
-