Class CipConnectionManagerResponse
- java.lang.Object
-
- org.apache.plc4x.java.eip.readwrite.CipService
-
- org.apache.plc4x.java.eip.readwrite.CipConnectionManagerResponse
-
- All Implemented Interfaces:
Message,Serializable
public class CipConnectionManagerResponse extends CipService implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCipConnectionManagerResponse.CipConnectionManagerResponseBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.eip.readwrite.CipService
CipService.CipServiceBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected intconnectionSerialNumberprotected longoriginatorSerialNumberprotected intoriginatorVendorIdprotected longotApiprotected longotConnectionIdprotected longtoApiprotected longtoConnectionId
-
Constructor Summary
Constructors Constructor Description CipConnectionManagerResponse(long otConnectionId, long toConnectionId, int connectionSerialNumber, int originatorVendorId, long originatorSerialNumber, long otApi, long toApi)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)BooleangetConnected()intgetConnectionSerialNumber()intgetLengthInBits()intgetLengthInBytes()longgetOriginatorSerialNumber()intgetOriginatorVendorId()longgetOtApi()longgetOtConnectionId()BooleangetResponse()BytegetService()longgetToApi()longgetToConnectionId()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
-
otConnectionId
protected final long otConnectionId
-
toConnectionId
protected final long toConnectionId
-
connectionSerialNumber
protected final int connectionSerialNumber
-
originatorVendorId
protected final int originatorVendorId
-
originatorSerialNumber
protected final long originatorSerialNumber
-
otApi
protected final long otApi
-
toApi
protected final long toApi
-
-
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
-
getOtConnectionId
public long getOtConnectionId()
-
getToConnectionId
public long getToConnectionId()
-
getConnectionSerialNumber
public int getConnectionSerialNumber()
-
getOriginatorVendorId
public int getOriginatorVendorId()
-
getOriginatorSerialNumber
public long getOriginatorSerialNumber()
-
getOtApi
public long getOtApi()
-
getToApi
public long getToApi()
-
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
-
-