Class NetworkTableInstance
Inheritance
NetworkTableInstance
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
Properties
|
Improve this Doc
View Source
Default
Declaration
public static NetworkTableInstance Default { get; }
Property Value
|
Improve this Doc
View Source
Handle
Declaration
public NtInst Handle { get; }
Property Value
Methods
|
Improve this Doc
View Source
AddConnectionListener(ConnectionNotificationDelegate, Boolean)
Declaration
public NtConnectionListener AddConnectionListener(ConnectionNotificationDelegate listener, bool immediateNotify)
Parameters
Returns
|
Improve this Doc
View Source
AddEntryListener(NetworkTableEntry, EntryNotificationDelegate, NotifyFlags)
Declaration
public NtEntryListener AddEntryListener(in NetworkTableEntry entry, EntryNotificationDelegate listener, NotifyFlags flags)
Parameters
Returns
|
Improve this Doc
View Source
AddEntryListener(String, EntryNotificationDelegate, NotifyFlags)
Declaration
public NtEntryListener AddEntryListener(string prefix, EntryNotificationDelegate listener, NotifyFlags flags)
Parameters
Returns
|
Improve this Doc
View Source
AddLogger(LogMessageDelegate, Int32, Int32)
Declaration
public NtLogger AddLogger(LogMessageDelegate listener, int minLevel, int maxLevel)
Parameters
Returns
|
Improve this Doc
View Source
Create()
Declaration
public static NetworkTableInstance Create()
Returns
|
Improve this Doc
View Source
CreateRpc(NetworkTableEntry, RpcAnswerDelegate)
Declaration
public void CreateRpc(in NetworkTableEntry entry, RpcAnswerDelegate callback)
Parameters
|
Improve this Doc
View Source
DeleteAllEntries()
Declaration
public void DeleteAllEntries()
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
Equals(NetworkTableInstance)
Declaration
public bool Equals(NetworkTableInstance other)
Parameters
Returns
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
Flush()
Declaration
|
Improve this Doc
View Source
GetConnections()
Declaration
public ReadOnlySpan<ConnectionInfo> GetConnections()
Returns
|
Improve this Doc
View Source
GetConnections(Span<ConnectionInfo>)
Declaration
public ReadOnlySpan<ConnectionInfo> GetConnections(Span<ConnectionInfo> store)
Parameters
Returns
|
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
|
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
Returns
|
Improve this Doc
View Source
GetEntries(String, NtType)
Declaration
public ReadOnlySpan<NetworkTableEntry> GetEntries(string prefix, NtType types)
Parameters
Returns
|
Improve this Doc
View Source
GetEntries(String, NtType, Span<NetworkTableEntry>)
Declaration
public ReadOnlySpan<NetworkTableEntry> GetEntries(string prefix, NtType types, Span<NetworkTableEntry> store)
Parameters
Returns
|
Improve this Doc
View Source
GetEntry(ReadOnlySpan<Char>)
Declaration
public NetworkTableEntry GetEntry(ReadOnlySpan<char> name)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<Char> |
name |
|
Returns
|
Improve this Doc
View Source
GetEntry(String)
Declaration
public NetworkTableEntry GetEntry(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
|
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
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
Returns
Type |
Description |
System.ReadOnlySpan<EntryInfo> |
|
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
GetNetworkMode()
Declaration
public NetworkMode GetNetworkMode()
Returns
|
Improve this Doc
View Source
GetTable(String)
Declaration
public NetworkTable GetTable(string key)
Parameters
Type |
Name |
Description |
String |
key |
|
Returns
|
Improve this Doc
View Source
IsConnected()
Declaration
public bool IsConnected()
Returns
|
Improve this Doc
View Source
IsValid()
Declaration
Returns
|
Improve this Doc
View Source
LoadEntries(String, String)
Declaration
public List<string> LoadEntries(string filename, string prefix)
Parameters
Returns
|
Improve this Doc
View Source
LoadPersistent(String)
Declaration
public List<string> LoadPersistent(string filename)
Parameters
Type |
Name |
Description |
String |
filename |
|
Returns
|
Improve this Doc
View Source
RemoveConnectionListener(NtConnectionListener)
Declaration
public void RemoveConnectionListener(NtConnectionListener listener)
Parameters
|
Improve this Doc
View Source
RemoveEntryListener(NtEntryListener)
Declaration
public void RemoveEntryListener(NtEntryListener listener)
Parameters
|
Improve this Doc
View Source
RemoveLogger(NtLogger)
Declaration
public void RemoveLogger(NtLogger listener)
Parameters
|
Improve this Doc
View Source
SaveEntries(String, String)
Declaration
public void SaveEntries(string filename, string prefix)
Parameters
|
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
|
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
|
Improve this Doc
View Source
SetServerTeam(Int32, Int32)
Declaration
public void SetServerTeam(int team, int port = 1735)
Parameters
|
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
|
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
|
Improve this Doc
View Source
StartClientTeam(Int32, Int32)
Declaration
public void StartClientTeam(int team, int port = 1735)
Parameters
|
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
|
Improve this Doc
View Source
StopClient()
Declaration
|
Improve this Doc
View Source
StopDSClient()
Declaration
public void StopDSClient()
|
Improve this Doc
View Source
StopServer()
Declaration
|
Improve this Doc
View Source
WaitForConnectionListenerQueue(Double)
Declaration
public bool WaitForConnectionListenerQueue(double timeout)
Parameters
Type |
Name |
Description |
Double |
timeout |
|
Returns
|
Improve this Doc
View Source
WaitForEntryListenerQueue(Double)
Declaration
public bool WaitForEntryListenerQueue(double timeout)
Parameters
Type |
Name |
Description |
Double |
timeout |
|
Returns
|
Improve this Doc
View Source
WaitForLoggerQueue(Double)
Declaration
public bool WaitForLoggerQueue(double timeout)
Parameters
Type |
Name |
Description |
Double |
timeout |
|
Returns
|
Improve this Doc
View Source
WaitForRpcCallQueue(Double)
Declaration
public bool WaitForRpcCallQueue(double timeout)
Parameters
Type |
Name |
Description |
Double |
timeout |
|
Returns
Operators
|
Improve this Doc
View Source
Equality(NetworkTableInstance, NetworkTableInstance)
Declaration
public static bool operator ==(in NetworkTableInstance lhs, in NetworkTableInstance rhs)
Parameters
Returns
|
Improve this Doc
View Source
Inequality(NetworkTableInstance, NetworkTableInstance)
Declaration
public static bool operator !=(in NetworkTableInstance lhs, in NetworkTableInstance rhs)
Parameters
Returns
Implements