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
-
Constructor Summary
-
Method Summary
-
Field Details
-
m_handle
NetworkTables handle.
-
-
Constructor Details
-
EntryBase
Constructor.- Parameters:
handle
- handle
-
-
Method Details
-
isValid
Description copied from interface:PubSub
Determines if the native handle is valid. -
getHandle
Description copied from interface:PubSub
Gets the native handle. -
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfacePubSub
-
exists
Description copied from interface:Subscriber
Determines if the entry currently exists.- Specified by:
exists
in interfaceSubscriber
- Returns:
- True if the entry exists, false otherwise.
-
getLastChange
Description copied from interface:Subscriber
Gets the last time the entry's value was changed.- Specified by:
getLastChange
in interfaceSubscriber
- Returns:
- Entry last change time
-