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.wpilibj;
006
007import edu.wpi.first.hal.SystemServerJNI;
008import edu.wpi.first.networktables.NetworkTableInstance;
009
010/** Class to get system server NT instance. */
011public final class SystemServer {
012  /**
013   * Gets the system server NT Instance.
014   *
015   * @return NT Instance
016   */
017  public static NetworkTableInstance getSystemServer() {
018    return NetworkTableInstance.fromNativeHandle(SystemServerJNI.getSystemServerHandle());
019  }
020
021  /** Utility Class. */
022  private SystemServer() {}
023}