Show / Hide Table of Contents

Class TcpMultiplexedListener

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

Inheritance
object
Disposable
MultiplexedListener
TcpMultiplexedListener
Implements
IDisposable
IAsyncDisposable
Inherited Members
MultiplexedListener.AcceptAsync(CancellationToken)
MultiplexedListener.StartAsync(CancellationToken)
MultiplexedListener.Dispose(bool)
MultiplexedListener.DisposeAsyncCore()
MultiplexedListener.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 TcpMultiplexedListener : MultiplexedListener, IDisposable, IAsyncDisposable

Constructors

| Edit this page View Source

TcpMultiplexedListener(EndPoint, Options)

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

Declaration
public TcpMultiplexedListener(EndPoint listenAddress, MultiplexedListener.Options configuration)
Parameters
Type Name Description
EndPoint listenAddress

The local endpoint to listen to.

MultiplexedListener.Options configuration

The configuration of the listener.

Methods

| Edit this page View Source

ConfigureAcceptedSocket(Socket)

Configures the socket associated with the incoming connection.

Declaration
protected override void ConfigureAcceptedSocket(Socket socket)
Parameters
Type Name Description
Socket socket

The socket that represents the incoming connection.

Overrides
MultiplexedListener.ConfigureAcceptedSocket(Socket)
Remarks

By default, this method does nothing.

| Edit this page View Source

Listen()

Creates listening socket.

Declaration
protected override sealed Socket Listen()
Returns
Type Description
Socket

Listening socket.

Overrides
MultiplexedListener.Listen()

Implements

IDisposable
IAsyncDisposable

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
☀
☾