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 org.wpilib.system; 006 007import org.wpilib.hardware.hal.SystemServerJNI; 008import org.wpilib.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}