public class NetworkTableServer extends NetworkTableNode implements ServerIncomingConnectionListener
entryStore
Constructor and Description |
---|
NetworkTableServer(IOStreamProvider streamProvider)
Create a NetworkTable Server
|
NetworkTableServer(IOStreamProvider streamProvider,
NetworkTableEntryTypeManager typeManager,
NTThreadManager threadManager)
Create a NetworkTable Server
|
Modifier and Type | Method and Description |
---|---|
void |
close()
close all networking activity related to this node
|
boolean |
isConnected()
Get the current state of the objects connection
|
boolean |
isServer()
If the object is acting as a server
|
void |
onNewConnection(ServerConnectionAdapter connectionAdapter)
Called on create of a new connection
|
addConnectionListener, addTableListener, containsKey, fireConnectedEvent, fireDisconnectedEvent, fireTableListeners, getBoolean, getDouble, getEntryStore, getString, getValue, init, putBoolean, putComplex, putDouble, putString, putValue, putValue, putValue, removeConnectionListener, removeTableListener, retrieveValue
public NetworkTableServer(IOStreamProvider streamProvider, NetworkTableEntryTypeManager typeManager, NTThreadManager threadManager)
streamProvider
- threadManager
- transactionPool
- public NetworkTableServer(IOStreamProvider streamProvider)
streamProvider
- public void close()
NetworkTableNode
close
in class NetworkTableNode
public void onNewConnection(ServerConnectionAdapter connectionAdapter)
ServerIncomingConnectionListener
onNewConnection
in interface ServerIncomingConnectionListener
connectionAdapter
- the server connection adapterpublic boolean isConnected()
IRemote
isConnected
in interface IRemote