Package edu.wpi.first.networktables
Class EntryBase
java.lang.Object
edu.wpi.first.networktables.EntryBase
- All Implemented Interfaces:
Publisher,PubSub,Subscriber,AutoCloseable
NetworkTables entry base implementation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
m_handle
NetworkTables handle.
-
-
Constructor Details
-
EntryBase
Constructor.- Parameters:
handle- handle
-
-
Method Details
-
isValid
Description copied from interface:PubSubDetermines if the native handle is valid. -
getHandle
Description copied from interface:PubSubGets the native handle. -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfacePubSub
-
exists
Description copied from interface:SubscriberDetermines if the entry currently exists.- Specified by:
existsin interfaceSubscriber- Returns:
- True if the entry exists, false otherwise.
-
getLastChange
Description copied from interface:SubscriberGets the last time the entry's value was changed.- Specified by:
getLastChangein interfaceSubscriber- Returns:
- Entry last change time
-