Now you can download a copy of these docs so you can use them offline! Download now
NetworkTableServer Class Reference

#include <NetworkTableServer.h>

Inheritance diagram for NetworkTableServer:
Collaboration diagram for NetworkTableServer:

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
AbstractNetworkTableEntryStoreGetEntryStore ()
 
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
AbstractNetworkTableEntryStoreentryStore
 

Detailed Description

A server node in NetworkTables 2.0

Author
Mitchell

Definition at line 28 of file NetworkTableServer.h.

Constructor & Destructor Documentation

NetworkTableServer::NetworkTableServer ( IOStreamProvider streamProvider,
NetworkTableEntryTypeManager typeManager,
NTThreadManager threadManager 
)

Create a NetworkTable Server

Parameters
streamProvider
threadManager
transactionPool

Definition at line 13 of file NetworkTableServer.cpp.

NetworkTableServer::NetworkTableServer ( IOStreamProvider streamProvider)

Create a NetworkTable Server

Parameters
streamProvider

Member Function Documentation

void NetworkTableServer::Close ( )
virtual

close all networking activity related to this node

Implements NetworkTableNode.

Definition at line 36 of file NetworkTableServer.cpp.

bool NetworkTableServer::IsConnected ( )
virtual

Get the current state of the objects connection

Returns
the current connection state

Implements IRemote.

Definition at line 51 of file NetworkTableServer.cpp.

bool NetworkTableServer::IsServer ( )
virtual

If the object is acting as a server

Returns
if the object is a server

Implements IRemote.

Definition at line 56 of file NetworkTableServer.cpp.

void NetworkTableServer::OnNewConnection ( ServerConnectionAdapter connectionAdapter)
virtual

Called on create of a new connection

Parameters
connectionAdapterthe server connection adapter

Implements ServerIncomingConnectionListener.

Definition at line 46 of file NetworkTableServer.cpp.


The documentation for this class was generated from the following files:

Generated on Sat Apr 26 2014 12:26:46 for WPILibC++ by doxygen 1.8.6