Compartir a través de


SocketTransportFactory Clase

Definición

Un generador para conexiones basadas en sockets.

public ref class SocketTransportFactory sealed : Microsoft::AspNetCore::Server::Kestrel::Transport::Abstractions::Internal::ITransportFactory
public ref class SocketTransportFactory sealed : Microsoft::AspNetCore::Connections::IConnectionListenerFactory
public sealed class SocketTransportFactory : Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportFactory
public sealed class SocketTransportFactory : Microsoft.AspNetCore.Connections.IConnectionListenerFactory
public sealed class SocketTransportFactory : Microsoft.AspNetCore.Connections.IConnectionListenerFactory, Microsoft.AspNetCore.Connections.IConnectionListenerFactorySelector
type SocketTransportFactory = class
    interface ITransportFactory
type SocketTransportFactory = class
    interface IConnectionListenerFactory
type SocketTransportFactory = class
    interface IConnectionListenerFactory
    interface IConnectionListenerFactorySelector
Public NotInheritable Class SocketTransportFactory
Implements ITransportFactory
Public NotInheritable Class SocketTransportFactory
Implements IConnectionListenerFactory
Public NotInheritable Class SocketTransportFactory
Implements IConnectionListenerFactory, IConnectionListenerFactorySelector
Herencia
SocketTransportFactory
Implementaciones
Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportFactory IConnectionListenerFactory IConnectionListenerFactorySelector

Constructores

SocketTransportFactory(IOptions<SocketTransportOptions>, IApplicationLifetime, ILoggerFactory)

Un generador para conexiones basadas en sockets.

SocketTransportFactory(IOptions<SocketTransportOptions>, ILoggerFactory)

Inicializa una nueva instancia de la clase SocketTransportFactory.

Métodos

BindAsync(EndPoint, CancellationToken)

Crea un IConnectionListener enlazado al especificado EndPoint.

CanBind(EndPoint)

Devuelve un valor que indica si el generador de escucha admite el enlace al especificado EndPoint.

Create(IEndPointInformation, IConnectionDispatcher)

Un generador para conexiones basadas en sockets.

Se aplica a