Table of Contents

Delegate StreamingServer.DisconnectedHandler

Namespace
VAST.Network
Assembly
VAST.Network.dll

Represents the method that handles the event when a connection is disconnected.

public delegate void StreamingServer.DisconnectedHandler(Guid connectionId, ExtendedSocketError socketError)

Parameters

connectionId Guid

The unique identifier of the connection.

socketError ExtendedSocketError

The socket error that caused the disconnection.

Constructors

DisconnectedHandler(object, nint)

public DisconnectedHandler(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(Guid, ExtendedSocketError, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(Guid connectionId, ExtendedSocketError socketError, AsyncCallback callback, object @object)

Parameters

connectionId Guid
socketError ExtendedSocketError
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(Guid, ExtendedSocketError)

public virtual void Invoke(Guid connectionId, ExtendedSocketError socketError)

Parameters

connectionId Guid
socketError ExtendedSocketError