Interface PubSub

All Superinterfaces:
AutoCloseable
All Known Subinterfaces:
BooleanArrayEntry, BooleanArrayPublisher, BooleanArraySubscriber, BooleanEntry, BooleanPublisher, BooleanSubscriber, DoubleArrayEntry, DoubleArrayPublisher, DoubleArraySubscriber, DoubleEntry, DoublePublisher, DoubleSubscriber, FloatArrayEntry, FloatArrayPublisher, FloatArraySubscriber, FloatEntry, FloatPublisher, FloatSubscriber, GenericEntry, GenericPublisher, GenericSubscriber, IntegerArrayEntry, IntegerArrayPublisher, IntegerArraySubscriber, IntegerEntry, IntegerPublisher, IntegerSubscriber, ProtobufEntry<T>, ProtobufPublisher<T>, ProtobufSubscriber<T>, Publisher, RawEntry, RawPublisher, RawSubscriber, StringArrayEntry, StringArrayPublisher, StringArraySubscriber, StringEntry, StringPublisher, StringSubscriber, StructArrayEntry<T>, StructArrayPublisher<T>, StructArraySubscriber<T>, StructEntry<T>, StructPublisher<T>, StructSubscriber<T>, Subscriber
All Known Implementing Classes:
EntryBase, NetworkTableEntry

public interface PubSub extends AutoCloseable
NetworkTables publisher or subscriber.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    int
    Gets the native handle.
    Gets the subscribed-to / published-to topic.
    boolean
    Determines if the native handle is valid.
  • Method Details

    • close

      void close()
      Specified by:
      close in interface AutoCloseable
    • getTopic

      Gets the subscribed-to / published-to topic.
      Returns:
      Topic
    • isValid

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

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