Class EntryBase
java.lang.Object
org.wpilib.networktables.EntryBase
- All Implemented Interfaces:
AutoCloseable, Publisher, PubSub, Subscriber
NetworkTables entry base implementation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
m_handle
protected int m_handleNetworkTables handle.
-
-
Constructor Details
-
EntryBase
public EntryBase(int handle) Constructor.- Parameters:
handle- handle
-
-
Method Details
-
isValid
-
getHandle
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfacePubSub
-
exists
public boolean exists()Description copied from interface:SubscriberDetermines if the entry currently exists.- Specified by:
existsin interfaceSubscriber- Returns:
- True if the entry exists, false otherwise.
-
getLastChange
public long getLastChange()Description copied from interface:SubscriberGets the last time the entry's value was changed.- Specified by:
getLastChangein interfaceSubscriber- Returns:
- Entry last change time, in nanoseconds
-