Skip to main content

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
TypeNameDescription
System.Net.EndPointendPoint

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
TypeNameDescription
Mirage.Sockets.Udp.UdpConnectionHandleother
Returns
TypeDescription
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
TypeNameDescription
System.Objectobj
Returns
TypeDescription
System.Boolean

GetHashCode()

Declaration
public override int GetHashCode()
Returns
TypeDescription
System.Int32

ToString()

Declaration
public override string ToString()
Returns
TypeDescription
System.String

IConnectionHandle.Disconnect(String)

Declaration
void IConnectionHandle.Disconnect(string gracefulDisconnectReason)
Parameters
TypeNameDescription
System.StringgracefulDisconnectReason

IConnectionHandle.CreateCopy()

Declaration
IConnectionHandle IConnectionHandle.CreateCopy()
Returns
TypeDescription
Mirage.SocketLayer.IConnectionHandle