Class CipConnectionManagerRequest
- java.lang.Object
-
- org.apache.plc4x.java.eip.readwrite.CipService
-
- org.apache.plc4x.java.eip.readwrite.CipConnectionManagerRequest
-
- All Implemented Interfaces:
Message,Serializable
public class CipConnectionManagerRequest extends CipService implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCipConnectionManagerRequest.CipConnectionManagerRequestBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.eip.readwrite.CipService
CipService.CipServiceBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected PathSegmentclassSegmentprotected List<PathSegment>connectionPathsprotected shortconnectionPathSizeprotected intconnectionSerialNumberprotected PathSegmentinstanceSegmentprotected longoriginatorSerialNumberprotected intoriginatorVendorIdprotected longotConnectionIdprotected NetworkConnectionParametersotConnectionParametersprotected longotRpiprotected bytepriorityprotected bytetickTimeprotected shorttimeoutMultiplierprotected shorttimeoutTicksprotected longtoConnectionIdprotected NetworkConnectionParameterstoConnectionParametersprotected longtoRpiprotected TransportTypetransportType
-
Constructor Summary
Constructors Constructor Description CipConnectionManagerRequest(PathSegment classSegment, PathSegment instanceSegment, byte priority, byte tickTime, short timeoutTicks, long otConnectionId, long toConnectionId, int connectionSerialNumber, int originatorVendorId, long originatorSerialNumber, short timeoutMultiplier, long otRpi, NetworkConnectionParameters otConnectionParameters, long toRpi, NetworkConnectionParameters toConnectionParameters, TransportType transportType, short connectionPathSize, List<PathSegment> connectionPaths)
-
Method Summary
-
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
-
classSegment
protected final PathSegment classSegment
-
instanceSegment
protected final PathSegment instanceSegment
-
priority
protected final byte priority
-
tickTime
protected final byte tickTime
-
timeoutTicks
protected final short timeoutTicks
-
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
-
timeoutMultiplier
protected final short timeoutMultiplier
-
otRpi
protected final long otRpi
-
otConnectionParameters
protected final NetworkConnectionParameters otConnectionParameters
-
toRpi
protected final long toRpi
-
toConnectionParameters
protected final NetworkConnectionParameters toConnectionParameters
-
transportType
protected final TransportType transportType
-
connectionPathSize
protected final short connectionPathSize
-
connectionPaths
protected final List<PathSegment> connectionPaths
-
-
Constructor Detail
-
CipConnectionManagerRequest
public CipConnectionManagerRequest(PathSegment classSegment, PathSegment instanceSegment, byte priority, byte tickTime, short timeoutTicks, long otConnectionId, long toConnectionId, int connectionSerialNumber, int originatorVendorId, long originatorSerialNumber, short timeoutMultiplier, long otRpi, NetworkConnectionParameters otConnectionParameters, long toRpi, NetworkConnectionParameters toConnectionParameters, TransportType transportType, short connectionPathSize, List<PathSegment> connectionPaths)
-
-
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()
-
getPriority
public byte getPriority()
-
getTickTime
public byte getTickTime()
-
getTimeoutTicks
public short getTimeoutTicks()
-
getOtConnectionId
public long getOtConnectionId()
-
getToConnectionId
public long getToConnectionId()
-
getConnectionSerialNumber
public int getConnectionSerialNumber()
-
getOriginatorVendorId
public int getOriginatorVendorId()
-
getOriginatorSerialNumber
public long getOriginatorSerialNumber()
-
getTimeoutMultiplier
public short getTimeoutMultiplier()
-
getOtRpi
public long getOtRpi()
-
getOtConnectionParameters
public NetworkConnectionParameters getOtConnectionParameters()
-
getToRpi
public long getToRpi()
-
getToConnectionParameters
public NetworkConnectionParameters getToConnectionParameters()
-
getTransportType
public TransportType getTransportType()
-
getConnectionPathSize
public short getConnectionPathSize()
-
getConnectionPaths
public List<PathSegment> getConnectionPaths()
-
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
-
-