Class FwdCloseReq

    • Field Detail

      • connSN

        public short connSN
      • vendor

        public short vendor
      • origSN

        public int origSN
    • Constructor Detail

      • FwdCloseReq

        public FwdCloseReq​(short connSN,
                           short vendor,
                           int origSN,
                           CipPath route)
      • FwdCloseReq

        public FwdCloseReq​(FwdCloseReq other,
                           int nesting)
      • FwdCloseReq

        public FwdCloseReq​(CipPath target,
                           int service)
      • FwdCloseReq

        public FwdCloseReq​(CipPath target,
                           int service,
                           java.nio.ByteBuffer source)
      • FwdCloseReq

        public FwdCloseReq()
      • FwdCloseReq

        public FwdCloseReq​(java.nio.ByteBuffer source)
    • Method Detail

      • setPayload

        public void setPayload​(java.nio.ByteBuffer source)
        Description copied from class: CxMgrReq
        Implementations must call this method at the beginning of their setPayload() method.
        Specified by:
        setPayload in interface CipMessage
        Overrides:
        setPayload in class CxMgrReq
        Parameters:
        source - Source buffer containing the encoded new payload.
      • putPayload

        public void putPayload​(java.nio.ByteBuffer dest)
        Description copied from class: CxMgrReq
        Implementations must call this method at the beginning of their putPayload() method.
        Specified by:
        putPayload in interface CipMessage
        Overrides:
        putPayload in class CxMgrReq
        Parameters:
        dest - Destination buffer for the encoded payload.
      • payloadLength

        public int payloadLength()
        Description copied from class: CipRequest
        Subclasses must override this unless they populate the payload and payloadActual fields.
        Specified by:
        payloadLength in interface CipMessage
        Overrides:
        payloadLength in class CipRequest
        Returns:
        The byte length of the encoded payload only.
      • accept

        public void accept​(CipReply reply)
        Description copied from class: CipRequest
        Applications and routers call this method with the actual reply to pass back up the chain of callers. Routers must embed some form of ID code in their protocol packets to associate requests with replies. DeviceNet uses originator node address and a 16-bit transaction ID. Ethernet/IP uses the 64-bit Sender Context field of its encapsulation header. CIP over DF1 uses the 16-bit Transaction Number inside of PCCC encapsulation.
        Specified by:
        accept in interface CipReplyConsumer
        Overrides:
        accept in class CipRequest