Class ConnectionNotification


  • public final class ConnectionNotification
    extends Object
    NetworkTables Connection notification.
    • Field Detail

      • listener

        public final int listener
        Listener that was triggered.
      • connected

        public final boolean connected
        True if event is due to connection being established.
    • Constructor Detail

      • ConnectionNotification

        public ConnectionNotification​(NetworkTableInstance inst,
                                      int listener,
                                      boolean connected,
                                      ConnectionInfo conn)
        Constructor. This should generally only be used internally to NetworkTables.
        Parameters:
        inst - Instance
        listener - Listener that was triggered
        connected - Connected if true
        conn - Connection information