Class NanoConnectionHandle
Inheritance
System.Object
Inherited Members
Show
Syntax
public sealed class NanoConnectionHandle : IConnectionHandle, IBindEndPoint, IConnectEndPoint, IEquatable<NanoConnectionHandle>
Constructors
NanoConnectionHandle(String, UInt16)
Declaration
public NanoConnectionHandle(string host, ushort port)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | host | |
| System.UInt16 | port |
Properties
IConnectionHandle.IsStateful
Declaration
bool IConnectionHandle.IsStateful { get; }
IConnectionHandle.SupportsGracefulDisconnect
Declaration
bool IConnectionHandle.SupportsGracefulDisconnect { get; }
IConnectionHandle.SocketLayerConnection
Declaration
ISocketLayerConnection IConnectionHandle.SocketLayerConnection { get; set; }
Methods
IConnectionHandle.Disconnect(String)
Declaration
void IConnectionHandle.Disconnect(string gracefulDisconnectReason)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | gracefulDisconnectReason |
CreateCopy()
Declaration
public IConnectionHandle CreateCopy()
Returns
| Type | Description |
|---|---|
| Mirage.SocketLayer.IConnectionHandle |
Equals(NanoConnectionHandle)
Declaration
public bool Equals(NanoConnectionHandle other)
Parameters
| Type | Name | Description |
|---|---|---|
| Mirage.Sockets.Udp.NanoConnectionHandle | 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 |