001// Copyright (c) FIRST and other WPILib contributors.
002// Open Source Software; you can modify and/or share it under the terms of
003// the WPILib BSD license file in the root directory of this project.
004
005package edu.wpi.first.networktables;
006
007/** NetworkTables subscriber. */
008public interface Subscriber extends PubSub {
009  /**
010   * Determines if the entry currently exists.
011   *
012   * @return True if the entry exists, false otherwise.
013   */
014  boolean exists();
015
016  /**
017   * Gets the last time the entry's value was changed.
018   *
019   * @return Entry last change time
020   */
021  long getLastChange();
022}