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/**
008 * NetworkTables protobuf-encoded value entry.
009 *
010 * <p>Unlike NetworkTableEntry, the entry goes away when close() is called.
011 *
012 * @param <T> value class
013 */
014public interface ProtobufEntry<T> extends ProtobufSubscriber<T>, ProtobufPublisher<T> {
015  /** Stops publishing the entry if it's published. */
016  void unpublish();
017}