Struct NtConnectionListener
Low Level NT Core Connection Listener Handle
Implements
Inherited Members
Namespace: NetworkTables.Natives
Assembly: FRC.NetworkTables.dll
Syntax
public struct NtConnectionListener : IEquatable<NtConnectionListener>
Constructors
| Improve this Doc View SourceNtConnectionListener(Int32)
Creates a new handle
Declaration
public NtConnectionListener(int value)
Parameters
Type | Name | Description |
---|---|---|
Int32 | value | handle value |
Methods
| Improve this Doc View SourceEquals(NtConnectionListener)
Checks equality between another Handle
Declaration
public bool Equals(NtConnectionListener other)
Parameters
Type | Name | Description |
---|---|---|
Nt |
other | Handle to check |
Returns
Type | Description |
---|---|
Boolean | True if equal |
Equals(Object)
Checks equality between another object
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | Object to check |
Returns
Type | Description |
---|---|
Boolean | True if equal |
Overrides
| Improve this Doc View SourceGet()
Gets the raw handle value
Declaration
public int Get()
Returns
Type | Description |
---|---|
Int32 | The raw handle value |
GetHashCode()
Gets Hash Code of Handle
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | Handle Value as Hash Code |
Overrides
Operators
| Improve this Doc View SourceEquality(NtConnectionListener, NtConnectionListener)
Gets if 2 handles are equal
Declaration
public static bool operator ==(NtConnectionListener lhs, NtConnectionListener rhs)
Parameters
Type | Name | Description |
---|---|---|
Nt |
lhs | Left Hand Side |
Nt |
rhs | Right Hand Side |
Returns
Type | Description |
---|---|
Boolean | true if equal |
Implicit(NtConnectionListener to NtHandle)
Converts a handle to a base handle
Declaration
public static implicit operator NtHandle(NtConnectionListener value)
Parameters
Type | Name | Description |
---|---|---|
Nt |
value | The current handle |
Returns
Type | Description |
---|---|
Nt |
Inequality(NtConnectionListener, NtConnectionListener)
Gets if 2 handles are not equal
Declaration
public static bool operator !=(NtConnectionListener lhs, NtConnectionListener rhs)
Parameters
Type | Name | Description |
---|---|---|
Nt |
lhs | Left Hand Side |
Nt |
rhs | Right Hand Side |
Returns
Type | Description |
---|---|
Boolean | true if not equal |