RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
ConnectionInfo.java
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5package org.wpilib.networktables;
6
8public final class ConnectionInfo {
13 public final String remoteId;
14
16 public final String remoteIp;
17
19 public final int remotePort;
20
25 public final long lastUpdate;
26
31 public final int protocolVersion;
32
43 String remoteId, String remoteIp, int remotePort, long lastUpdate, int protocolVersion) {
44 this.remoteId = remoteId;
45 this.remoteIp = remoteIp;
46 this.remotePort = remotePort;
47 this.lastUpdate = lastUpdate;
48 this.protocolVersion = protocolVersion;
49 }
50}
ConnectionInfo(String remoteId, String remoteIp, int remotePort, long lastUpdate, int protocolVersion)