DisconnectedHandlerclass

Event handler which fires when the WebSocket disconnects from the server.

objectMulticastDelegateDisconnectedHandler
Namespace
global
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.WebSocket.DisconnectedHandler : System.MulticastDelegate

Constructors1

Showing 1 constructors

public DisconnectedHandler(object object, System.IntPtr method)PUBLICCONSTRUCTOR

ParameterTypeDescription
objectobject
methodIntPtr

Methods3

Showing 3 methods

public virtual System.IAsyncResult BeginInvoke(int status, string reason, System.AsyncCallback callback, object object)PUBLICVIRTUAL

ParameterTypeDescription
statusint
reasonstring
callbackAsyncCallback
objectobject
Returns:IAsyncResult

public virtual void EndInvoke(System.IAsyncResult result)PUBLICVIRTUAL

ParameterTypeDescription
resultIAsyncResult
Returns:void

public virtual void Invoke(int status, string reason)PUBLICVIRTUAL

ParameterTypeDescription
statusint
reasonstring
Returns:void

On this page