C# Class PublicGateway.Comms.WsCommunicationClient

Communication client that wraps the logic for talking to the StockService service. Created by communication client factory.
Inheritance: ICommunicationClient
Exibir arquivo Open project: Azure-Samples/service-fabric-dotnet-data-streaming-websockets

Public Methods

Method Description
SendReceiveAsync ( byte payload ) : Task
WsCommunicationClient ( string baseAddress ) : System

Private Methods

Method Description
ConnectAsync ( CancellationToken cancellationToken ) : Task
ValidateClient ( ) : bool

ValidateClient ( string endpoint ) : bool

Method Details

SendReceiveAsync() public method

public SendReceiveAsync ( byte payload ) : Task
payload byte
return Task

WsCommunicationClient() public method

public WsCommunicationClient ( string baseAddress ) : System
baseAddress string
return System