Now you can download a copy of these docs so you can use them offline! Download now
#include <NetworkTableServer.h>


Public Member Functions | |
| NetworkTableServer (IOStreamProvider &streamProvider, NetworkTableEntryTypeManager &typeManager, NTThreadManager &threadManager) | |
| NetworkTableServer (IOStreamProvider &streamProvider) | |
| void | Close () |
| void | OnNewConnection (ServerConnectionAdapter &connectionAdapter) |
| bool | IsConnected () |
| bool | IsServer () |
Public Member Functions inherited from NetworkTableNode | |
| AbstractNetworkTableEntryStore & | GetEntryStore () |
| void | PutBoolean (std::string &name, bool value) |
| bool | GetBoolean (std::string &name) |
| void | PutDouble (std::string &name, double value) |
| double | GetDouble (std::string &name) |
| void | PutString (std::string &name, std::string &value) |
| std::string & | GetString (std::string &name) |
| void | PutComplex (std::string &name, ComplexData &value) |
| void | retrieveValue (std::string &name, ComplexData &externalData) |
| void | PutValue (std::string &name, NetworkTableEntryType *type, EntryValue value) |
| void | PutValue (NetworkTableEntry *entry, EntryValue value) |
| EntryValue | GetValue (std::string &name) |
| bool | ContainsKey (std::string &key) |
| void | AddConnectionListener (IRemoteConnectionListener *listener, bool immediateNotify) |
| void | RemoveConnectionListener (IRemoteConnectionListener *listener) |
| void | FireConnectedEvent () |
| void | FireDisconnectedEvent () |
| void | AddTableListener (ITableListener *listener, bool immediateNotify) |
| void | RemoveTableListener (ITableListener *listener) |
| void | FireTableListeners (std::string &key, EntryValue value, bool isNew) |
Additional Inherited Members | |
Protected Member Functions inherited from NetworkTableNode | |
| NetworkTableNode (AbstractNetworkTableEntryStore &entryStore) | |
Protected Attributes inherited from NetworkTableNode | |
| AbstractNetworkTableEntryStore & | entryStore |
A server node in NetworkTables 2.0
Definition at line 28 of file NetworkTableServer.h.
| NetworkTableServer::NetworkTableServer | ( | IOStreamProvider & | streamProvider, |
| NetworkTableEntryTypeManager & | typeManager, | ||
| NTThreadManager & | threadManager | ||
| ) |
Create a NetworkTable Server
| streamProvider | |
| threadManager | |
| transactionPool |
Definition at line 13 of file NetworkTableServer.cpp.
| NetworkTableServer::NetworkTableServer | ( | IOStreamProvider & | streamProvider | ) |
Create a NetworkTable Server
| streamProvider |
|
virtual |
close all networking activity related to this node
Implements NetworkTableNode.
Definition at line 36 of file NetworkTableServer.cpp.
|
virtual |
Get the current state of the objects connection
Implements IRemote.
Definition at line 51 of file NetworkTableServer.cpp.
|
virtual |
If the object is acting as a server
Implements IRemote.
Definition at line 56 of file NetworkTableServer.cpp.
|
virtual |
Called on create of a new connection
| connectionAdapter | the server connection adapter |
Implements ServerIncomingConnectionListener.
Definition at line 46 of file NetworkTableServer.cpp.
1.8.6