Show / Hide Table of Contents

Class TcpMultiplexedClient

Represents a client-side of the multiplexing protocol on top of TCP.

Inheritance
object
Disposable
MultiplexedClient
TcpMultiplexedClient
Implements
IDisposable
IAsyncDisposable
IPeer
Inherited Members
MultiplexedClient.StartAsync(CancellationToken)
MultiplexedClient.OpenStreamAsync(CancellationToken)
MultiplexedClient.Dispose(bool)
MultiplexedClient.DisposeAsyncCore()
MultiplexedClient.DisposeAsync()
Disposable.IsDisposed
Disposable.IsDisposing
Disposable.IsDisposingOrDisposed
Disposable.CreateException()
Disposable.DisposedTask
Disposable.GetDisposedTask<T>()
Disposable.TrySetDisposedException<T>(TaskCompletionSource<T>)
Disposable.TrySetDisposedException(TaskCompletionSource)
Disposable.TryBeginDispose()
Disposable.Dispose()
Disposable.Dispose(IEnumerable<IDisposable>)
Disposable.DisposeAsync(IEnumerable<IAsyncDisposable>)
Disposable.Dispose<T>(ReadOnlySpan<T>)
Disposable.DisposeAsync(params IAsyncDisposable[])
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DotNext.Net.Multiplexing
Assembly: DotNext.Net.Cluster.dll
Syntax
public class TcpMultiplexedClient : MultiplexedClient, IDisposable, IAsyncDisposable, IPeer
Remarks

TCP multiplexer provides unencrypted multiplexed transport on top of TCP/IP stack. It should not be used for communication over the Internet or any other untrusted network. It's aimed for efficient communication between cluster nodes within the trusted LAN.

Constructors

| Edit this page View Source

TcpMultiplexedClient(EndPoint, Options)

Represents a client-side of the multiplexing protocol on top of TCP.

Declaration
public TcpMultiplexedClient(EndPoint address, TcpMultiplexedClient.Options configuration)
Parameters
Type Name Description
EndPoint address

The address of the server.

TcpMultiplexedClient.Options configuration

The configuration of the client.

Remarks

TCP multiplexer provides unencrypted multiplexed transport on top of TCP/IP stack. It should not be used for communication over the Internet or any other untrusted network. It's aimed for efficient communication between cluster nodes within the trusted LAN.

Methods

| Edit this page View Source

ConnectAsync(CancellationToken)

Creates a connected socket.

Declaration
protected override sealed ValueTask<Socket> ConnectAsync(CancellationToken token)
Parameters
Type Name Description
CancellationToken token

The token that can be used to cancel the operation.

Returns
Type Description
ValueTask<Socket>

The connected socket.

Overrides
MultiplexedClient.ConnectAsync(CancellationToken)

Implements

IDisposable
IAsyncDisposable
IPeer

Extension Methods

BasicExtensions.As<T>(T)
BasicExtensions.GetUserData<T>(T)
BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, ReadOnlySpan<T>)
ExpressionBuilder.Const<T>(T)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾