"

2013 FRC Java API

"

edu.wpi.first.wpilibj.networktables2.connection
Class NetworkTableConnection

java.lang.Object
  extended by edu.wpi.first.wpilibj.networktables2.connection.NetworkTableConnection

public class NetworkTableConnection
extends Object

An abstraction for the NetworkTable protocol

Author:
mwills

Field Summary
static char PROTOCOL_REVISION
           
 IOStream stream
          the raw stream that is used in this connection
 
Constructor Summary
NetworkTableConnection(IOStream stream, NetworkTableEntryTypeManager typeManager)
           
 
Method Summary
 void close()
           
 void flush()
           
 void read(ConnectionAdapter adapter)
           
 void sendClientHello()
           
 void sendEntryAssignment(NetworkTableEntry entry)
           
 void sendEntryUpdate(NetworkTableEntry entry)
           
 void sendKeepAlive()
           
 void sendProtocolVersionUnsupported()
           
 void sendServerHelloComplete()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

Constructor Detail

NetworkTableConnection

public NetworkTableConnection(IOStream stream,
                              NetworkTableEntryTypeManager typeManager)
Method Detail

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

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"