edu.wpi.first.wpilibj.networktables2.connection
Class NetworkTableConnection
java.lang.Object
edu.wpi.first.wpilibj.networktables2.connection.NetworkTableConnection
public class NetworkTableConnection
- extends Object
An abstraction for the NetworkTable protocol
- Author:
- mwills
PROTOCOL_REVISION
public static final char PROTOCOL_REVISION
- See Also:
- Constant Field Values
stream
public final IOStream stream
- the raw stream that is used in this connection
NetworkTableConnection
public NetworkTableConnection(IOStream stream,
NetworkTableEntryTypeManager typeManager)
close
public void close()
flush
public void flush()
throws IOException
- Throws:
IOException
sendKeepAlive
public void sendKeepAlive()
throws IOException
- Throws:
IOException
sendClientHello
public void sendClientHello()
throws IOException
- Throws:
IOException
sendServerHelloComplete
public void sendServerHelloComplete()
throws IOException
- Throws:
IOException
sendProtocolVersionUnsupported
public void sendProtocolVersionUnsupported()
throws IOException
- Throws:
IOException
sendEntryAssignment
public void sendEntryAssignment(NetworkTableEntry entry)
throws IOException
- Throws:
IOException
sendEntryUpdate
public void sendEntryUpdate(NetworkTableEntry entry)
throws IOException
- Throws:
IOException
read
public void read(ConnectionAdapter adapter)
throws IOException
- Throws:
IOException
"For updated information see the Java FRC site"