C# Class Simpl.OODSS.PlatformSpecifics.OODSSPlatformSpecificsImpl

DotNet Implementation
Inheritance: IOODSSPlatformSpecifics
Afficher le fichier Open project: ecologylab/simplCSharp

Méthodes publiques

Méthode 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 méthode

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

CreateWebSocketClientObject() public méthode

public CreateWebSocketClientObject ( ) : object
Résultat object

CreateWorkingThreadAndStart() public méthode

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
Résultat Task

DisconnectWebSocketClientAsync() public méthode

public DisconnectWebSocketClientAsync ( object webSocketClient ) : Task
webSocketClient object
Résultat Task

ReceiveMessageFromWebSocketClientAsync() public méthode

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

SendMessageFromWebSocketClientAsync() public méthode

public SendMessageFromWebSocketClientAsync ( object webSocketClient, byte outMessage ) : Task
webSocketClient object
outMessage byte
Résultat Task

WebSocketIsConnected() public méthode

public WebSocketIsConnected ( object webSocketClient ) : bool
webSocketClient object
Résultat bool