"

2013 FRC Java API

"

edu.wpi.first.wpilibj.networktables2.server
Class ServerConnectionList

java.lang.Object
  extended by edu.wpi.first.wpilibj.networktables2.server.ServerConnectionList
All Implemented Interfaces:
FlushableOutgoingEntryReceiver, OutgoingEntryReceiver, ServerAdapterManager

public class ServerConnectionList
extends Object
implements FlushableOutgoingEntryReceiver, ServerAdapterManager

A list of connections that the server currently has

Author:
Mitchell

Field Summary
 
Fields inherited from interface edu.wpi.first.wpilibj.networktables2.OutgoingEntryReceiver
NULL
 
Constructor Summary
ServerConnectionList()
           
 
Method Summary
 void add(ServerConnectionAdapter connection)
          Add a connection to the list
 void close(ServerConnectionAdapter connectionAdapter, boolean closeStream)
          Called when a connection adapter has been closed
 void closeAll()
          close all connections and remove them
 void ensureAlive()
           
 void flush()
           
 void offerOutgoingAssignment(NetworkTableEntry entry)
           
 void offerOutgoingUpdate(NetworkTableEntry entry)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerConnectionList

public ServerConnectionList()
Method Detail

add

public void add(ServerConnectionAdapter connection)
Add a connection to the list

Parameters:
connection -

close

public void close(ServerConnectionAdapter connectionAdapter,
                  boolean closeStream)
Description copied from interface: ServerAdapterManager
Called when a connection adapter has been closed

Specified by:
close in interface ServerAdapterManager
Parameters:
connectionAdapter - the adapter that was closed

closeAll

public void closeAll()
close all connections and remove them


offerOutgoingAssignment

public void offerOutgoingAssignment(NetworkTableEntry entry)
Specified by:
offerOutgoingAssignment in interface OutgoingEntryReceiver

offerOutgoingUpdate

public void offerOutgoingUpdate(NetworkTableEntry entry)
Specified by:
offerOutgoingUpdate in interface OutgoingEntryReceiver

flush

public void flush()
Specified by:
flush in interface FlushableOutgoingEntryReceiver

ensureAlive

public void ensureAlive()
Specified by:
ensureAlive in interface FlushableOutgoingEntryReceiver

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"