Class CipUnconnectedRequest
- java.lang.Object
-
- org.apache.plc4x.java.eip.readwrite.CipService
-
- org.apache.plc4x.java.eip.readwrite.CipUnconnectedRequest
-
- All Implemented Interfaces:
Message,Serializable
public class CipUnconnectedRequest extends CipService implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCipUnconnectedRequest.CipUnconnectedRequestBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.eip.readwrite.CipService
CipService.CipServiceBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected bytebackPlaneprotected PathSegmentclassSegmentprotected PathSegmentinstanceSegmentstatic IntegerROUTEprotected byteslotprotected CipServiceunconnectedService
-
Constructor Summary
Constructors Constructor Description CipUnconnectedRequest(PathSegment classSegment, PathSegment instanceSegment, CipService unconnectedService, byte backPlane, byte slot)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)bytegetBackPlane()PathSegmentgetClassSegment()BooleangetConnected()PathSegmentgetInstanceSegment()intgetLengthInBits()intgetLengthInBytes()BooleangetResponse()intgetRoute()BytegetService()bytegetSlot()CipServicegetUnconnectedService()inthashCode()protected voidserializeCipServiceChild(WriteBuffer writeBuffer)static CipService.CipServiceBuilderstaticParseCipServiceBuilder(ReadBuffer readBuffer, Boolean connected, Integer serviceLen)StringtoString()-
Methods inherited from class org.apache.plc4x.java.eip.readwrite.CipService
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
-
ROUTE
public static final Integer ROUTE
-
classSegment
protected final PathSegment classSegment
-
instanceSegment
protected final PathSegment instanceSegment
-
unconnectedService
protected final CipService unconnectedService
-
backPlane
protected final byte backPlane
-
slot
protected final byte slot
-
-
Constructor Detail
-
CipUnconnectedRequest
public CipUnconnectedRequest(PathSegment classSegment, PathSegment instanceSegment, CipService unconnectedService, byte backPlane, byte slot)
-
-
Method Detail
-
getService
public Byte getService()
- Specified by:
getServicein classCipService
-
getResponse
public Boolean getResponse()
- Specified by:
getResponsein classCipService
-
getConnected
public Boolean getConnected()
- Specified by:
getConnectedin classCipService
-
getClassSegment
public PathSegment getClassSegment()
-
getInstanceSegment
public PathSegment getInstanceSegment()
-
getUnconnectedService
public CipService getUnconnectedService()
-
getBackPlane
public byte getBackPlane()
-
getSlot
public byte getSlot()
-
getRoute
public int getRoute()
-
serializeCipServiceChild
protected void serializeCipServiceChild(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializeCipServiceChildin classCipService- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classCipService
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classCipService
-
staticParseCipServiceBuilder
public static CipService.CipServiceBuilder staticParseCipServiceBuilder(ReadBuffer readBuffer, Boolean connected, Integer serviceLen) throws ParseException
- Throws:
ParseException
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCipService
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCipService
-
toString
public String toString()
- Overrides:
toStringin classCipService
-
-