Show / Hide Table of Contents

Class NtCore

Raw NT Core access function

Inheritance
Object
NtCore
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: NetworkTables.Natives
Assembly: FRC.NetworkTables.dll
Syntax
[NativeInterface(typeof(INtCore))]
public static class NtCore

Methods

| Improve this Doc View Source

AddPolledConnectionListener(NtConnectionListenerPoller, Boolean)

Declaration
public static NtConnectionListener AddPolledConnectionListener(NtConnectionListenerPoller poller, bool immediateNotify)
Parameters
Type Name Description
NtConnectionListenerPoller poller
Boolean immediateNotify
Returns
Type Description
NtConnectionListener
| Improve this Doc View Source

AddPolledEntryListener(NtEntryListenerPoller, NetworkTableEntry, NotifyFlags)

Declaration
public static NtEntryListener AddPolledEntryListener(NtEntryListenerPoller poller, NetworkTableEntry entry, NotifyFlags flags)
Parameters
Type Name Description
NtEntryListenerPoller poller
NetworkTableEntry entry
NotifyFlags flags
Returns
Type Description
NtEntryListener
| Improve this Doc View Source

AddPolledEntryListener(NtEntryListenerPoller, ReadOnlySpan<Char>, NotifyFlags)

Declaration
public static NtEntryListener AddPolledEntryListener(NtEntryListenerPoller poller, ReadOnlySpan<char> prefix, NotifyFlags flags)
Parameters
Type Name Description
NtEntryListenerPoller poller
System.ReadOnlySpan<Char> prefix
NotifyFlags flags
Returns
Type Description
NtEntryListener
| Improve this Doc View Source

AddPolledEntryListener(NtEntryListenerPoller, String, NotifyFlags)

Declaration
public static NtEntryListener AddPolledEntryListener(NtEntryListenerPoller poller, string prefix, NotifyFlags flags)
Parameters
Type Name Description
NtEntryListenerPoller poller
String prefix
NotifyFlags flags
Returns
Type Description
NtEntryListener
| Improve this Doc View Source

AddPolledLogger(NtLoggerPoller, Int32, Int32)

Declaration
public static NtLogger AddPolledLogger(NtLoggerPoller poller, int minLevel, int maxLevel)
Parameters
Type Name Description
NtLoggerPoller poller
Int32 minLevel
Int32 maxLevel
Returns
Type Description
NtLogger
| Improve this Doc View Source

CallRpc(NtEntry, Span<Byte>)

Declaration
public static NtRpcCall CallRpc(NtEntry entry, Span<byte> params)
Parameters
Type Name Description
NtEntry entry
System.Span<Byte> params
Returns
Type Description
NtRpcCall
| Improve this Doc View Source

CancelPollConnectionListener(NtConnectionListenerPoller)

Declaration
public static void CancelPollConnectionListener(NtConnectionListenerPoller poller)
Parameters
Type Name Description
NtConnectionListenerPoller poller
| Improve this Doc View Source

CancelPollEntryListener(NtEntryListenerPoller)

Declaration
public static void CancelPollEntryListener(NtEntryListenerPoller poller)
Parameters
Type Name Description
NtEntryListenerPoller poller
| Improve this Doc View Source

CancelPollLogger(NtLoggerPoller)

Declaration
public static void CancelPollLogger(NtLoggerPoller poller)
Parameters
Type Name Description
NtLoggerPoller poller
| Improve this Doc View Source

CancelPollRpc(NtRpcCallPoller)

Declaration
public static void CancelPollRpc(NtRpcCallPoller poller)
Parameters
Type Name Description
NtRpcCallPoller poller
| Improve this Doc View Source

CancelRpcResult(NtEntry, NtRpcCall)

Declaration
public static void CancelRpcResult(NtEntry entry, NtRpcCall call)
Parameters
Type Name Description
NtEntry entry
NtRpcCall call
| Improve this Doc View Source

CreateConnectionListenerPoller(NtInst)

Declaration
public static NtConnectionListenerPoller CreateConnectionListenerPoller(NtInst inst)
Parameters
Type Name Description
NtInst inst
Returns
Type Description
NtConnectionListenerPoller
| Improve this Doc View Source

CreateEntryListenerPoller(NtInst)

Declaration
public static NtEntryListenerPoller CreateEntryListenerPoller(NtInst inst)
Parameters
Type Name Description
NtInst inst
Returns
Type Description
NtEntryListenerPoller
| Improve this Doc View Source

CreateInstance()

Declaration
public static NtInst CreateInstance()
Returns
Type Description
NtInst
| Improve this Doc View Source

CreateLoggerPoller(NtInst)

Declaration
public static NtLoggerPoller CreateLoggerPoller(NtInst inst)
Parameters
Type Name Description
NtInst inst
Returns
Type Description
NtLoggerPoller
| Improve this Doc View Source

CreatePolledRpc(NtEntry, ReadOnlySpan<Byte>, NtRpcCallPoller)

Declaration
public static void CreatePolledRpc(NtEntry entry, ReadOnlySpan<byte> def, NtRpcCallPoller poller)
Parameters
Type Name Description
NtEntry entry
System.ReadOnlySpan<Byte> def
NtRpcCallPoller poller
| Improve this Doc View Source

CreateRpcCallPoller(NtInst)

Declaration
public static NtRpcCallPoller CreateRpcCallPoller(NtInst inst)
Parameters
Type Name Description
NtInst inst
Returns
Type Description
NtRpcCallPoller
| Improve this Doc View Source

DeleteAllEntries(NtInst)

Declaration
public static void DeleteAllEntries(NtInst inst)
Parameters
Type Name Description
NtInst inst
| Improve this Doc View Source

DeleteEntry(NtEntry)

Declaration
public static void DeleteEntry(NtEntry entry)
Parameters
Type Name Description
NtEntry entry
| Improve this Doc View Source

DestroyConnectionListenerPoller(NtConnectionListenerPoller)

Declaration
public static void DestroyConnectionListenerPoller(NtConnectionListenerPoller poller)
Parameters
Type Name Description
NtConnectionListenerPoller poller
| Improve this Doc View Source

DestroyEntryListenerPoller(NtEntryListenerPoller)

Declaration
public static void DestroyEntryListenerPoller(NtEntryListenerPoller poller)
Parameters
Type Name Description
NtEntryListenerPoller poller
| Improve this Doc View Source

DestroyInstance(NtInst)

Declaration
public static void DestroyInstance(NtInst inst)
Parameters
Type Name Description
NtInst inst
| Improve this Doc View Source

DestroyLoggerPoller(NtLoggerPoller)

Declaration
public static void DestroyLoggerPoller(NtLoggerPoller poller)
Parameters
Type Name Description
NtLoggerPoller poller
| Improve this Doc View Source

DestroyRpcCallPoller(NtRpcCallPoller)

Declaration
public static void DestroyRpcCallPoller(NtRpcCallPoller poller)
Parameters
Type Name Description
NtRpcCallPoller poller
| Improve this Doc View Source

Flush(NtInst)

Declaration
public static void Flush(NtInst inst)
Parameters
Type Name Description
NtInst inst
| Improve this Doc View Source

GetConnections(NtInst, Span<ConnectionInfo>)

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

GetDefaultInstance()

Declaration
public static NtInst GetDefaultInstance()
Returns
Type Description
NtInst
| Improve this Doc View Source

GetEntries(NtInst, ReadOnlySpan<Char>, NtType, Span<NtEntry>)

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

GetEntries(NtInst, String, NtType, Span<NtEntry>)

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

GetEntriesManaged(NetworkTableInstance, ReadOnlySpan<Char>, NtType, Span<NetworkTableEntry>)

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

GetEntriesManaged(NetworkTableInstance, String, NtType, Span<NetworkTableEntry>)

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

GetEntry(NtInst, ReadOnlySpan<Char>)

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

GetEntry(NtInst, String)

Declaration
public static NtEntry GetEntry(NtInst inst, string name)
Parameters
Type Name Description
NtInst inst
String name
Returns
Type Description
NtEntry
| Improve this Doc View Source

GetEntryCount(NtInst, ReadOnlySpan<Char>, NtType)

Declaration
public static int GetEntryCount(NtInst inst, ReadOnlySpan<char> prefix, NtType types)
Parameters
Type Name Description
NtInst inst
System.ReadOnlySpan<Char> prefix
NtType types
Returns
Type Description
Int32
| Improve this Doc View Source

GetEntryCount(NtInst, String, NtType)

Declaration
public static int GetEntryCount(NtInst inst, string prefix, NtType types)
Parameters
Type Name Description
NtInst inst
String prefix
NtType types
Returns
Type Description
Int32
| Improve this Doc View Source

GetEntryFlags(NtEntry)

Declaration
public static EntryFlags GetEntryFlags(NtEntry entry)
Parameters
Type Name Description
NtEntry entry
Returns
Type Description
EntryFlags
| Improve this Doc View Source

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

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

GetEntryInfo(NetworkTableInstance, String, NtType, Span<EntryInfo>)

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

GetEntryInfoHandle(NetworkTableInstance, NtEntry)

Declaration
public static EntryInfo? GetEntryInfoHandle(NetworkTableInstance inst, NtEntry entry)
Parameters
Type Name Description
NetworkTableInstance inst
NtEntry entry
Returns
Type Description
Nullable<EntryInfo>
| Improve this Doc View Source

GetEntryLastChange(NtEntry)

Declaration
public static ulong GetEntryLastChange(NtEntry entry)
Parameters
Type Name Description
NtEntry entry
Returns
Type Description
UInt64
| Improve this Doc View Source

GetEntryName(NtEntry)

Declaration
public static string GetEntryName(NtEntry entry)
Parameters
Type Name Description
NtEntry entry
Returns
Type Description
String
| Improve this Doc View Source

GetEntryType(NtEntry)

Declaration
public static NtType GetEntryType(NtEntry entry)
Parameters
Type Name Description
NtEntry entry
Returns
Type Description
NtType
| Improve this Doc View Source

GetEntryValue(NtEntry)

Declaration
public static ManagedValue GetEntryValue(NtEntry entry)
Parameters
Type Name Description
NtEntry entry
Returns
Type Description
ManagedValue
| Improve this Doc View Source

GetInstanceFromHandle(NtHandle)

Declaration
public static NtInst GetInstanceFromHandle(NtHandle handle)
Parameters
Type Name Description
NtHandle handle
Returns
Type Description
NtInst
| Improve this Doc View Source

GetNetworkMode(NtInst)

Declaration
public static NetworkMode GetNetworkMode(NtInst inst)
Parameters
Type Name Description
NtInst inst
Returns
Type Description
NetworkMode
| Improve this Doc View Source

GetRpcResult(NtEntry, NtRpcCall, Double, Span<Byte>)

Declaration
public static ReadOnlySpan<byte> GetRpcResult(NtEntry entry, NtRpcCall call, double timeout, Span<byte> store)
Parameters
Type Name Description
NtEntry entry
NtRpcCall call
Double timeout
System.Span<Byte> store
Returns
Type Description
System.ReadOnlySpan<Byte>
| Improve this Doc View Source

GetRpcResult(NtEntry, NtRpcCall, Span<Byte>)

Declaration
public static ReadOnlySpan<byte> GetRpcResult(NtEntry entry, NtRpcCall call, Span<byte> store)
Parameters
Type Name Description
NtEntry entry
NtRpcCall call
System.Span<Byte> store
Returns
Type Description
System.ReadOnlySpan<Byte>
| Improve this Doc View Source

Initialize()

Declaration
public static void Initialize()
| Improve this Doc View Source

IsConnected(NtInst)

Declaration
public static bool IsConnected(NtInst inst)
Parameters
Type Name Description
NtInst inst
Returns
Type Description
Boolean
| Improve this Doc View Source

LoadEntries(NtInst, String, String)

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

LoadPersistent(NtInst, String)

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

Now()

Declaration
public static ulong Now()
Returns
Type Description
UInt64
| Improve this Doc View Source

PostRpcResponse(NtEntry, NtRpcCall, ReadOnlySpan<Byte>)

Declaration
public static void PostRpcResponse(NtEntry entry, NtRpcCall call, ReadOnlySpan<byte> result)
Parameters
Type Name Description
NtEntry entry
NtRpcCall call
System.ReadOnlySpan<Byte> result
| Improve this Doc View Source

RemoveConnectionListener(NtConnectionListener)

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

RemoveEntryListener(NtEntryListener)

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

RemoveLogger(NtLogger)

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

SaveEntries(NtInst, String, String)

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

SavePersistent(NtInst, String)

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

SetEntryFlags(NtEntry, EntryFlags)

Declaration
public static void SetEntryFlags(NtEntry entry, EntryFlags flags)
Parameters
Type Name Description
NtEntry entry
EntryFlags flags
| Improve this Doc View Source

SetEntryValue(NtEntry, ManagedValue)

Declaration
public static bool SetEntryValue(NtEntry entry, in ManagedValue value)
Parameters
Type Name Description
NtEntry entry
ManagedValue value
Returns
Type Description
Boolean
| Improve this Doc View Source

SetNetworkIdentity(NtInst, String)

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

SetServer(NtInst, ReadOnlySpan<ServerPortPair>)

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

SetServer(NtInst, String, Int32)

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

SetServerTeam(NtInst, Int32, Int32)

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

SetUpdateRate(NtInst, Double)

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

StartClient(NtInst)

Declaration
public static void StartClient(NtInst inst)
Parameters
Type Name Description
NtInst inst
| Improve this Doc View Source

StartClient(NtInst, ReadOnlySpan<ServerPortPair>)

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

StartClient(NtInst, String, Int32)

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

StartClientTeam(NtInst, Int32, Int32)

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

StartDSClient(NtInst, Int32)

Declaration
public static void StartDSClient(NtInst inst, int port)
Parameters
Type Name Description
NtInst inst
Int32 port
| Improve this Doc View Source

StartServer(NtInst, String, String, Int32)

Declaration
public static void StartServer(NtInst inst, string persistFilename, string listenAddress, int port)
Parameters
Type Name Description
NtInst inst
String persistFilename
String listenAddress
Int32 port
| Improve this Doc View Source

StopClient(NtInst)

Declaration
public static void StopClient(NtInst inst)
Parameters
Type Name Description
NtInst inst
| Improve this Doc View Source

StopDSClient(NtInst)

Declaration
public static void StopDSClient(NtInst inst)
Parameters
Type Name Description
NtInst inst
| Improve this Doc View Source

StopServer(NtInst)

Declaration
public static void StopServer(NtInst inst)
Parameters
Type Name Description
NtInst inst
| Improve this Doc View Source

WaitForConnectionListenerQueue(NtInst, Double)

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

WaitForEntryListenerQueue(NtInst, Double)

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

WaitForLoggerQueue(NtInst, Double)

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

WaitForRpcCallQueue(NtInst, Double)

Declaration
public static bool WaitForRpcCallQueue(NtInst inst, double timeout)
Parameters
Type Name Description
NtInst inst
Double timeout
Returns
Type Description
Boolean
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 RobotDotNet