Class MultiSubscriber

java.lang.Object
edu.wpi.first.networktables.MultiSubscriber
All Implemented Interfaces:
AutoCloseable

public final class MultiSubscriber extends Object implements AutoCloseable
Subscribe to multiple topics based on one or more topic name prefixes. Can be used in combination with NetworkTableListenerPoller to listen for value changes across all matching topics.
  • Constructor Details

  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getInstance

      Gets the instance for the subscriber.
      Returns:
      Instance
    • isValid

      public boolean isValid()
      Determines if the native handle is valid.
      Returns:
      True if the native handle is valid, false otherwise.
    • getHandle

      public int getHandle()
      Gets the native handle.
      Returns:
      Handle