public class ServerConnectionList extends java.lang.Object implements FlushableOutgoingEntryReceiver, ServerAdapterManager
NULL
Constructor and Description |
---|
ServerConnectionList() |
Modifier and Type | Method and Description |
---|---|
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) |
public ServerConnectionList()
public void add(ServerConnectionAdapter connection)
connection
- public void close(ServerConnectionAdapter connectionAdapter, boolean closeStream)
ServerAdapterManager
close
in interface ServerAdapterManager
connectionAdapter
- the adapter that was closedpublic void closeAll()
public void offerOutgoingAssignment(NetworkTableEntry entry)
offerOutgoingAssignment
in interface OutgoingEntryReceiver
public void offerOutgoingUpdate(NetworkTableEntry entry)
offerOutgoingUpdate
in interface OutgoingEntryReceiver
public void flush()
flush
in interface FlushableOutgoingEntryReceiver
public void ensureAlive()
ensureAlive
in interface FlushableOutgoingEntryReceiver