public class NTServerTableProvider
extends java.lang.Object
NetworkTable for a given NTNode| Modifier and Type | Field and Description |
|---|---|
private NTServer |
m_node |
private java.util.Hashtable<java.lang.String,NetworkTable> |
m_tables |
| Constructor and Description |
|---|
NTServerTableProvider()
Create a new NetworkTableProvider for a given NetworkTableNode
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
close the backing network table node
|
ITable |
getRootTable() |
NTServer |
getServer() |
ITable |
getTable(java.lang.String key)
Get a table by name
|
private final NTServer m_node
private final java.util.Hashtable<java.lang.String,NetworkTable> m_tables
public NTServerTableProvider()
throws java.io.IOException
node - the node that handles the actual network tablejava.io.IOExceptionpublic ITable getRootTable()
public ITable getTable(java.lang.String key)
name - the name of the tablepublic NTServer getServer()
public void close()