Class FwdCloseRsp
- java.lang.Object
-
- com.automation_pros.odva.cip.requests.CipReply
-
- com.automation_pros.odva.cip.requests.FwdCloseRsp
-
- All Implemented Interfaces:
CipMessage
,java.io.Externalizable
,java.io.Serializable
public class FwdCloseRsp extends CipReply
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FwdCloseRsp(ConxInstance conx, byte[] appreply)
FwdCloseRsp(FwdCloseReq fclose, CipReply reply)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
payloadLength()
Subclasses must override this unless they populate the payload field.void
putPayload(java.nio.ByteBuffer dest)
Subclasses that encode fields into their payloads must override this.void
setPayload(java.nio.ByteBuffer source)
Subclasses should override this method to permit reparsing of protocol packets into the desired request type.-
Methods inherited from class com.automation_pros.odva.cip.requests.CipReply
bytes, decode, getException, getExtras, getPayload, getRequest, getServiceCode, getStatusCode, payloadBytes, payloadString, put, readExternal, readResolve, set, setException, setRequest, toBytes, toString, writeExternal
-
-
-
-
Constructor Detail
-
FwdCloseRsp
public FwdCloseRsp(FwdCloseReq fclose, CipReply reply)
-
FwdCloseRsp
public FwdCloseRsp(ConxInstance conx, byte[] appreply)
-
-
Method Detail
-
setPayload
public void setPayload(java.nio.ByteBuffer source)
Description copied from class:CipReply
Subclasses should override this method to permit reparsing of protocol packets into the desired request type.- Specified by:
setPayload
in interfaceCipMessage
- Overrides:
setPayload
in classCipReply
- Parameters:
source
- Source buffer containing the encoded new payload.
-
putPayload
public void putPayload(java.nio.ByteBuffer dest)
Description copied from class:CipReply
Subclasses that encode fields into their payloads must override this.- Specified by:
putPayload
in interfaceCipMessage
- Overrides:
putPayload
in classCipReply
- Parameters:
dest
- Destination buffer for the encoded payload.
-
payloadLength
public int payloadLength()
Description copied from class:CipReply
Subclasses must override this unless they populate the payload field.- Specified by:
payloadLength
in interfaceCipMessage
- Overrides:
payloadLength
in classCipReply
- Returns:
- The byte length of the encoded payload only.
-
-