Show / Hide Table of Contents

Class NetworkTableInstance

Inheritance
Object
NetworkTableInstance
Implements
IDisposable
IEquatable<NetworkTableInstance>
Inherited Members
Object.Equals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: NetworkTables
Assembly: FRC.NetworkTables.dll
Syntax
public class NetworkTableInstance : IDisposable, IEquatable<NetworkTableInstance>

Fields

| Improve this Doc View Source

DefaultPort

Declaration
public const int DefaultPort = 1735
Field Value
Type Description
Int32

Properties

| Improve this Doc View Source

Default

Declaration
public static NetworkTableInstance Default { get; }
Property Value
Type Description
NetworkTableInstance
| Improve this Doc View Source

Handle

Declaration
public NtInst Handle { get; }
Property Value
Type Description
NtInst

Methods

| Improve this Doc View Source

AddConnectionListener(ConnectionNotificationDelegate, Boolean)

Declaration
public NtConnectionListener AddConnectionListener(ConnectionNotificationDelegate listener, bool immediateNotify)
Parameters
Type Name Description
ConnectionNotificationDelegate listener
Boolean immediateNotify
Returns
Type Description
NtConnectionListener
| Improve this Doc View Source

AddEntryListener(NetworkTableEntry, EntryNotificationDelegate, NotifyFlags)

Declaration
public NtEntryListener AddEntryListener(in NetworkTableEntry entry, EntryNotificationDelegate listener, NotifyFlags flags)
Parameters
Type Name Description
NetworkTableEntry entry
EntryNotificationDelegate listener
NotifyFlags flags
Returns
Type Description
NtEntryListener
| Improve this Doc View Source

AddEntryListener(String, EntryNotificationDelegate, NotifyFlags)

Declaration
public NtEntryListener AddEntryListener(string prefix, EntryNotificationDelegate listener, NotifyFlags flags)
Parameters
Type Name Description
String prefix
EntryNotificationDelegate listener
NotifyFlags flags
Returns
Type Description
NtEntryListener
| Improve this Doc View Source

AddLogger(LogMessageDelegate, Int32, Int32)

Declaration
public NtLogger AddLogger(LogMessageDelegate listener, int minLevel, int maxLevel)
Parameters
Type Name Description
LogMessageDelegate listener
Int32 minLevel
Int32 maxLevel
Returns
Type Description
NtLogger
| Improve this Doc View Source

Create()

Declaration
public static NetworkTableInstance Create()
Returns
Type Description
NetworkTableInstance
| Improve this Doc View Source

CreateRpc(NetworkTableEntry, RpcAnswerDelegate)

Declaration
public void CreateRpc(in NetworkTableEntry entry, RpcAnswerDelegate callback)
Parameters
Type Name Description
NetworkTableEntry entry
RpcAnswerDelegate callback
| Improve this Doc View Source

DeleteAllEntries()

Declaration
public void DeleteAllEntries()
| Improve this Doc View Source

Dispose()

Declaration
public void Dispose()
| Improve this Doc View Source

Equals(NetworkTableInstance)

Declaration
public bool Equals(NetworkTableInstance other)
Parameters
Type Name Description
NetworkTableInstance other
Returns
Type Description
Boolean
| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
Object.Equals(Object)
| Improve this Doc View Source

Flush()

Declaration
public void Flush()
| Improve this Doc View Source

GetConnections()

Declaration
public ReadOnlySpan<ConnectionInfo> GetConnections()
Returns
Type Description
System.ReadOnlySpan<ConnectionInfo>
| Improve this Doc View Source

GetConnections(Span<ConnectionInfo>)

Declaration
public ReadOnlySpan<ConnectionInfo> GetConnections(Span<ConnectionInfo> store)
Parameters
Type Name Description
System.Span<ConnectionInfo> store
Returns
Type Description
System.ReadOnlySpan<ConnectionInfo>
| Improve this Doc View Source

GetEntries(ReadOnlySpan<Char>, NtType)

Declaration
public ReadOnlySpan<NetworkTableEntry> GetEntries(ReadOnlySpan<char> prefix, NtType types)
Parameters
Type Name Description
System.ReadOnlySpan<Char> prefix
NtType types
Returns
Type Description
System.ReadOnlySpan<NetworkTableEntry>
| Improve this Doc View Source

GetEntries(ReadOnlySpan<Char>, NtType, Span<NetworkTableEntry>)

Declaration
public ReadOnlySpan<NetworkTableEntry> GetEntries(ReadOnlySpan<char> prefix, NtType types, Span<NetworkTableEntry> store)
Parameters
Type Name Description
System.ReadOnlySpan<Char> prefix
NtType types
System.Span<NetworkTableEntry> store
Returns
Type Description
System.ReadOnlySpan<NetworkTableEntry>
| Improve this Doc View Source

GetEntries(String, NtType)

Declaration
public ReadOnlySpan<NetworkTableEntry> GetEntries(string prefix, NtType types)
Parameters
Type Name Description
String prefix
NtType types
Returns
Type Description
System.ReadOnlySpan<NetworkTableEntry>
| Improve this Doc View Source

GetEntries(String, NtType, Span<NetworkTableEntry>)

Declaration
public ReadOnlySpan<NetworkTableEntry> GetEntries(string prefix, NtType types, Span<NetworkTableEntry> store)
Parameters
Type Name Description
String prefix
NtType types
System.Span<NetworkTableEntry> store
Returns
Type Description
System.ReadOnlySpan<NetworkTableEntry>
| Improve this Doc View Source

GetEntry(ReadOnlySpan<Char>)

Declaration
public NetworkTableEntry GetEntry(ReadOnlySpan<char> name)
Parameters
Type Name Description
System.ReadOnlySpan<Char> name
Returns
Type Description
NetworkTableEntry
| Improve this Doc View Source

GetEntry(String)

Declaration
public NetworkTableEntry GetEntry(string name)
Parameters
Type Name Description
String name
Returns
Type Description
NetworkTableEntry
| Improve this Doc View Source

GetEntryInfo(ReadOnlySpan<Char>, NtType)

Declaration
public ReadOnlySpan<EntryInfo> GetEntryInfo(ReadOnlySpan<char> prefix, NtType types)
Parameters
Type Name Description
System.ReadOnlySpan<Char> prefix
NtType types
Returns
Type Description
System.ReadOnlySpan<EntryInfo>
| Improve this Doc View Source

GetEntryInfo(ReadOnlySpan<Char>, NtType, Span<EntryInfo>)

Declaration
public ReadOnlySpan<EntryInfo> GetEntryInfo(ReadOnlySpan<char> prefix, NtType types, Span<EntryInfo> store)
Parameters
Type Name Description
System.ReadOnlySpan<Char> prefix
NtType types
System.Span<EntryInfo> store
Returns
Type Description
System.ReadOnlySpan<EntryInfo>
| Improve this Doc View Source

GetEntryInfo(String, NtType)

Declaration
public ReadOnlySpan<EntryInfo> GetEntryInfo(string prefix, NtType types)
Parameters
Type Name Description
String prefix
NtType types
Returns
Type Description
System.ReadOnlySpan<EntryInfo>
| Improve this Doc View Source

GetEntryInfo(String, NtType, Span<EntryInfo>)

Declaration
public ReadOnlySpan<EntryInfo> GetEntryInfo(string prefix, NtType types, Span<EntryInfo> store)
Parameters
Type Name Description
String prefix
NtType types
System.Span<EntryInfo> store
Returns
Type Description
System.ReadOnlySpan<EntryInfo>
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
Object.GetHashCode()
| Improve this Doc View Source

GetNetworkMode()

Declaration
public NetworkMode GetNetworkMode()
Returns
Type Description
NetworkMode
| Improve this Doc View Source

GetTable(String)

Declaration
public NetworkTable GetTable(string key)
Parameters
Type Name Description
String key
Returns
Type Description
NetworkTable
| Improve this Doc View Source

IsConnected()

Declaration
public bool IsConnected()
Returns
Type Description
Boolean
| Improve this Doc View Source

IsValid()

Declaration
public bool IsValid()
Returns
Type Description
Boolean
| Improve this Doc View Source

LoadEntries(String, String)

Declaration
public List<string> LoadEntries(string filename, string prefix)
Parameters
Type Name Description
String filename
String prefix
Returns
Type Description
List<String>
| Improve this Doc View Source

LoadPersistent(String)

Declaration
public List<string> LoadPersistent(string filename)
Parameters
Type Name Description
String filename
Returns
Type Description
List<String>
| Improve this Doc View Source

RemoveConnectionListener(NtConnectionListener)

Declaration
public void RemoveConnectionListener(NtConnectionListener listener)
Parameters
Type Name Description
NtConnectionListener listener
| Improve this Doc View Source

RemoveEntryListener(NtEntryListener)

Declaration
public void RemoveEntryListener(NtEntryListener listener)
Parameters
Type Name Description
NtEntryListener listener
| Improve this Doc View Source

RemoveLogger(NtLogger)

Declaration
public void RemoveLogger(NtLogger listener)
Parameters
Type Name Description
NtLogger listener
| Improve this Doc View Source

SaveEntries(String, String)

Declaration
public void SaveEntries(string filename, string prefix)
Parameters
Type Name Description
String filename
String prefix
| Improve this Doc View Source

SavePersistent(String)

Declaration
public void SavePersistent(string filename)
Parameters
Type Name Description
String filename
| Improve this Doc View Source

SetNetworkIdentity(String)

Declaration
public void SetNetworkIdentity(string name)
Parameters
Type Name Description
String name
| Improve this Doc View Source

SetServer(ReadOnlySpan<ServerPortPair>)

Declaration
public void SetServer(ReadOnlySpan<ServerPortPair> servers)
Parameters
Type Name Description
System.ReadOnlySpan<ServerPortPair> servers
| Improve this Doc View Source

SetServer(ReadOnlySpan<String>, Int32)

Declaration
public void SetServer(ReadOnlySpan<string> serverNames, int port = 1735)
Parameters
Type Name Description
System.ReadOnlySpan<String> serverNames
Int32 port
| Improve this Doc View Source

SetServer(String, Int32)

Declaration
public void SetServer(string serverName, int port = 1735)
Parameters
Type Name Description
String serverName
Int32 port
| Improve this Doc View Source

SetServerTeam(Int32, Int32)

Declaration
public void SetServerTeam(int team, int port = 1735)
Parameters
Type Name Description
Int32 team
Int32 port
| Improve this Doc View Source

SetUpdateRate(Double)

Declaration
public void SetUpdateRate(double interval)
Parameters
Type Name Description
Double interval
| Improve this Doc View Source

StartClient()

Declaration
public void StartClient()
| Improve this Doc View Source

StartClient(ReadOnlySpan<ServerPortPair>)

Declaration
public void StartClient(ReadOnlySpan<ServerPortPair> servers)
Parameters
Type Name Description
System.ReadOnlySpan<ServerPortPair> servers
| Improve this Doc View Source

StartClient(ReadOnlySpan<String>, Int32)

Declaration
public void StartClient(ReadOnlySpan<string> serverNames, int port = 1735)
Parameters
Type Name Description
System.ReadOnlySpan<String> serverNames
Int32 port
| Improve this Doc View Source

StartClient(String, Int32)

Declaration
public void StartClient(string serverName, int port = 1735)
Parameters
Type Name Description
String serverName
Int32 port
| Improve this Doc View Source

StartClientTeam(Int32, Int32)

Declaration
public void StartClientTeam(int team, int port = 1735)
Parameters
Type Name Description
Int32 team
Int32 port
| Improve this Doc View Source

StartDSClient(Int32)

Declaration
public void StartDSClient(int port = 1735)
Parameters
Type Name Description
Int32 port
| Improve this Doc View Source

StartServer(String, String, Int32)

Declaration
public void StartServer(string persistFilename = "networktables.ini", string listenAddress = "", int port = 1735)
Parameters
Type Name Description
String persistFilename
String listenAddress
Int32 port
| Improve this Doc View Source

StopClient()

Declaration
public void StopClient()
| Improve this Doc View Source

StopDSClient()

Declaration
public void StopDSClient()
| Improve this Doc View Source

StopServer()

Declaration
public void StopServer()
| Improve this Doc View Source

WaitForConnectionListenerQueue(Double)

Declaration
public bool WaitForConnectionListenerQueue(double timeout)
Parameters
Type Name Description
Double timeout
Returns
Type Description
Boolean
| Improve this Doc View Source

WaitForEntryListenerQueue(Double)

Declaration
public bool WaitForEntryListenerQueue(double timeout)
Parameters
Type Name Description
Double timeout
Returns
Type Description
Boolean
| Improve this Doc View Source

WaitForLoggerQueue(Double)

Declaration
public bool WaitForLoggerQueue(double timeout)
Parameters
Type Name Description
Double timeout
Returns
Type Description
Boolean
| Improve this Doc View Source

WaitForRpcCallQueue(Double)

Declaration
public bool WaitForRpcCallQueue(double timeout)
Parameters
Type Name Description
Double timeout
Returns
Type Description
Boolean

Operators

| Improve this Doc View Source

Equality(NetworkTableInstance, NetworkTableInstance)

Declaration
public static bool operator ==(in NetworkTableInstance lhs, in NetworkTableInstance rhs)
Parameters
Type Name Description
NetworkTableInstance lhs
NetworkTableInstance rhs
Returns
Type Description
Boolean
| Improve this Doc View Source

Inequality(NetworkTableInstance, NetworkTableInstance)

Declaration
public static bool operator !=(in NetworkTableInstance lhs, in NetworkTableInstance rhs)
Parameters
Type Name Description
NetworkTableInstance lhs
NetworkTableInstance rhs
Returns
Type Description
Boolean

Implements

IDisposable
IEquatable<T>
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 RobotDotNet