MessageReceivedHandlerclass

Event handler which processes text messages from the WebSocket service.

objectMulticastDelegateMessageReceivedHandler
Namespace
global
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.WebSocket.MessageReceivedHandler : System.MulticastDelegate

Constructors1

Showing 1 constructors

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

ParameterTypeDescription
objectobject
methodIntPtr

Methods3

Showing 3 methods

public virtual System.IAsyncResult BeginInvoke(string message, System.AsyncCallback callback, object object)PUBLICVIRTUAL

ParameterTypeDescription
messagestring
callbackAsyncCallback
objectobject
Returns:IAsyncResult

public virtual void EndInvoke(System.IAsyncResult result)PUBLICVIRTUAL

ParameterTypeDescription
resultIAsyncResult
Returns:void

public virtual void Invoke(string message)PUBLICVIRTUAL

ParameterTypeDescription
messagestring
Returns:void

On this page