Class BridgeInConx

    • Method Detail

      • accept

        public void accept​(CipReply t)
        Description copied from class: ConxInstance
        Subclasses whose constructor defers replying to the forward open request must add the connection to the request's callback list, and call super.accept() to finalize the connection details. If not shutdown on return, proceed with subclass-specific finalization. That must include a call to getParent().bgPing().
        Specified by:
        accept in interface CipReplyConsumer
        Overrides:
        accept in class ConxInstance
        Parameters:
        t - Any CipReply. If a Forward Open Response, apply the final connection parameters.
      • isOrigin

        public boolean isOrigin()
        Description copied from class: ConxInstance
        Generic CIP connections are either originators or targets. In messaging connections, originators produce requests while targets produce replies.

        Within this protocol implementation, originators produce on the link side with the O2T timing and parameters, and consume on the link side with the T2O timing and parameters.

        When a connection is obtained from a successful Forward Open Response, the recipient must examine whether it is an originator or a target. If an originator, the recipient must assign to the appConsumer field and use the appProduce() method. If a target, the recipient must assign to the linkProducer field and use the linkConsume() method.

        Specified by:
        isOrigin in class ConxInstance
        Returns: