Table of Contents

Delegate OnPeerDisconnected

Namespace
Netick
Assembly
Netick.dll
public delegate void OnPeerDisconnected(Connection peer, TransportDisconnectReason disconnectReason)

Parameters

peer Connection
disconnectReason TransportDisconnectReason

Constructors

OnPeerDisconnected(object, IntPtr)

public OnPeerDisconnected(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(Connection, TransportDisconnectReason, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(Connection peer, TransportDisconnectReason disconnectReason, AsyncCallback callback, object @object)

Parameters

peer Connection
disconnectReason TransportDisconnectReason
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(Connection, TransportDisconnectReason)

public virtual void Invoke(Connection peer, TransportDisconnectReason disconnectReason)

Parameters

peer Connection
disconnectReason TransportDisconnectReason