Class UdpConnectionHandle
Inheritance
System.Object
Inherited Members
Show
Syntax
public class UdpConnectionHandle : IConnectionHandle, IBindEndPoint, IConnectEndPoint, IEquatable<UdpConnectionHandle>
Constructors
UdpConnectionHandle(EndPoint)
Declaration
public UdpConnectionHandle(EndPoint endPoint)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Net.EndPoint | endPoint |
Fields
inner
Declaration
public EndPoint inner
Properties
IConnectionHandle.IsStateful
Declaration
bool IConnectionHandle.IsStateful { get; }
IConnectionHandle.SupportsGracefulDisconnect
Declaration
bool IConnectionHandle.SupportsGracefulDisconnect { get; }
IConnectionHandle.SocketLayerConnection
Declaration
ISocketLayerConnection IConnectionHandle.SocketLayerConnection { get; set; }
Methods
Equals(UdpConnectionHandle)
Declaration
public bool Equals(UdpConnectionHandle other)
Parameters
| Type | Name | Description |
|---|---|---|
| Mirage.Sockets.Udp.UdpConnectionHandle | other |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | obj |
Returns
| Type | Description |
|---|---|
| System.Boolean |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 |
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
IConnectionHandle.Disconnect(String)
Declaration
void IConnectionHandle.Disconnect(string gracefulDisconnectReason)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | gracefulDisconnectReason |
IConnectionHandle.CreateCopy()
Declaration
IConnectionHandle IConnectionHandle.CreateCopy()
Returns
| Type | Description |
|---|---|
| Mirage.SocketLayer.IConnectionHandle |