Now you can download a copy of these docs so you can use them offline! Download now
#include <ServerConnectionList.h>
Public Member Functions | |
ServerConnectionList (ServerIncomingStreamMonitor *Factory) | |
void | add (ServerConnectionAdapter &connection) |
void | close (ServerConnectionAdapter &connectionAdapter, bool closeStream) |
void | closeAll () |
void | offerOutgoingAssignment (NetworkTableEntry *entry) |
void | offerOutgoingUpdate (NetworkTableEntry *entry) |
void | flush () |
void | ensureAlive () |
A list of connections that the server currently has
Definition at line 30 of file ServerConnectionList.h.
void ServerConnectionList::add | ( | ServerConnectionAdapter & | connection | ) |
Add a connection to the list
connection |
Definition at line 24 of file ServerConnectionList.cpp.
|
virtual |
Called when a connection adapter has been closed
connectionAdapter | the adapter that was closed |
Implements ServerAdapterManager.
Definition at line 30 of file ServerConnectionList.cpp.
void ServerConnectionList::closeAll | ( | ) |
close all connections and remove them
Definition at line 45 of file ServerConnectionList.cpp.