UaClient/ServiceModel/Ua/Channels/UaTcpSessionChannel.cs
/// <summary>
/// The state machine manages the state of the channel.
/// </summary>
/// <param name="token">A cancellation token.</param>
/// <returns>A task.</returns>
The state machine manages the state of the channel.
The state machine manages the state of the channel .
private async Task StateMachineAsync(CancellationToken token = default(CancellationToken))
        {
            var tasks = new[]
            {
                this.PublishAsync(token),
                this.PublishAsync(token),
                this.PublishAsync(token),
            };
            await Task.WhenAll(tasks).ConfigureAwait(false);
        }
private async Task StateMachineAsync ( CancellationToken token = default ( CancellationToken ) ) { var tasks = new [ ] { this . PublishAsync ( token ) , this . PublishAsync ( token ) , this . PublishAsync ( token ) , } ; await Task . WhenAll ( tasks ) . ConfigureAwait ( false ) ; }
The state machine manages the state of the channel.
The state machine manages the state of the channel .
None
token
CancellationToken
A cancellation token.
A cancellation token .