C# Class Simpl.OODSS.PlatformSpecifics.OODSSPlatformSpecificsImpl

DotNet Implementation
Inheritance: IOODSSPlatformSpecifics
Datei anzeigen Open project: ecologylab/simplCSharp

Public Methods

Method Description
ConnectWebSocketClientAsync ( object webSocketClient, Uri uri, CancellationToken token ) : Task
CreateWebSocketClientObject ( ) : object
CreateWorkingThreadAndStart ( System.Action sender, System.Action receiver, System.Action dataReceiver, CancellationToken token ) : Task
DisconnectWebSocketClientAsync ( object webSocketClient ) : Task
ReceiveMessageFromWebSocketClientAsync ( object webSocketClient, byte buffer, CancellationToken token ) : Task
SendMessageFromWebSocketClientAsync ( object webSocketClient, byte outMessage ) : Task
WebSocketIsConnected ( object webSocketClient ) : bool

Method Details

ConnectWebSocketClientAsync() public method

public ConnectWebSocketClientAsync ( object webSocketClient, Uri uri, CancellationToken token ) : Task
webSocketClient object
uri System.Uri
token System.Threading.CancellationToken
return Task

CreateWebSocketClientObject() public method

public CreateWebSocketClientObject ( ) : object
return object

CreateWorkingThreadAndStart() public method

public CreateWorkingThreadAndStart ( System.Action sender, System.Action receiver, System.Action dataReceiver, CancellationToken token ) : Task
sender System.Action
receiver System.Action
dataReceiver System.Action
token System.Threading.CancellationToken
return Task

DisconnectWebSocketClientAsync() public method

public DisconnectWebSocketClientAsync ( object webSocketClient ) : Task
webSocketClient object
return Task

ReceiveMessageFromWebSocketClientAsync() public method

public ReceiveMessageFromWebSocketClientAsync ( object webSocketClient, byte buffer, CancellationToken token ) : Task
webSocketClient object
buffer byte
token System.Threading.CancellationToken
return Task

SendMessageFromWebSocketClientAsync() public method

public SendMessageFromWebSocketClientAsync ( object webSocketClient, byte outMessage ) : Task
webSocketClient object
outMessage byte
return Task

WebSocketIsConnected() public method

public WebSocketIsConnected ( object webSocketClient ) : bool
webSocketClient object
return bool