Interface AppConsumer

    • Method Detail

      • appConsume

        void appConsume​(long txID,
                        java.nio.ByteBuffer payload)
        Application Consumer objects handle data flow from connections to application objects. Connectable objects will provide instances with the appropriate buffer handling and ownership tracking, including removal/use of CIP short sequence numbers and originator idle/run mode indicators. Bridge connections cross connect their application consumers, passing the complete payload to the peer's appProduce() method.
        Parameters:
        txID - Transport layer transaction ID to use with any reply.
        payload - Complete CIP data payload, including CIP sequence number, if any.