Class BridgeInConx.BridgeLinkToApp

  • All Implemented Interfaces:
    AppLinkBase, LinkProducer
    Enclosing class:
    BridgeInConx

    public class BridgeInConx.BridgeLinkToApp
    extends java.lang.Object
    implements LinkProducer
    Provide application side bridging to an inward-facing Bridging connection from another port's inward-facing local connection.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void disconnect()
      When a connection is closed or an application forces a disconnect, this shutdown method is called to clean up.
      boolean isDisconnected()  
      void linkProduce​(long txID, java.nio.ByteBuffer payload)
      Link Producer objects handle data flow from generic connections to abstract transport links.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BridgeLinkToApp

        public BridgeLinkToApp​(ConxInstance conx)
    • Method Detail

      • linkProduce

        public void linkProduce​(long txID,
                                java.nio.ByteBuffer payload)
        Description copied from interface: LinkProducer
        Link Producer objects handle data flow from generic connections to abstract transport links. When carrying messaging traffic, the txID uniquely identifies the request/reply pair; typically the encapsulation sender context.
        Specified by:
        linkProduce in interface LinkProducer
        Parameters:
        txID - Transport layer transaction ID uniquely identifying this message or reply, if applicable. Zero for I/O connections.
        payload - Complete CIP data payload, including CIP sequence number, if any.
      • disconnect

        public void disconnect()
        Description copied from interface: AppLinkBase
        When a connection is closed or an application forces a disconnect, this shutdown method is called to clean up. It should close the connection when called by the application.
        Specified by:
        disconnect in interface AppLinkBase