Condividi tramite


SocketTransportFactory Classe

Definizione

Factory per le connessioni basate su socket.

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.Connections.IConnectionListenerFactory, Microsoft.AspNetCore.Connections.IConnectionListenerFactorySelector
public sealed class SocketTransportFactory : Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportFactory
public sealed class SocketTransportFactory : Microsoft.AspNetCore.Connections.IConnectionListenerFactory
type SocketTransportFactory = class
    interface IConnectionListenerFactory
    interface IConnectionListenerFactorySelector
type SocketTransportFactory = class
    interface ITransportFactory
type SocketTransportFactory = class
    interface IConnectionListenerFactory
Public NotInheritable Class SocketTransportFactory
Implements IConnectionListenerFactory, IConnectionListenerFactorySelector
Public NotInheritable Class SocketTransportFactory
Implements ITransportFactory
Public NotInheritable Class SocketTransportFactory
Implements IConnectionListenerFactory
Ereditarietà
SocketTransportFactory
Implementazioni
IConnectionListenerFactory IConnectionListenerFactorySelector Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportFactory

Costruttori

SocketTransportFactory(IOptions<SocketTransportOptions>, IApplicationLifetime, ILoggerFactory)

Factory per le connessioni basate su socket.

SocketTransportFactory(IOptions<SocketTransportOptions>, ILoggerFactory)

Inizializza una nuova istanza della classe SocketTransportFactory.

Metodi

BindAsync(EndPoint, CancellationToken)

Crea un IConnectionListener oggetto associato all'oggetto specificato EndPoint.

CanBind(EndPoint)

Restituisce un valore che indica se la factory del listener supporta l'associazione all'oggetto specificato EndPoint.

Create(IEndPointInformation, IConnectionDispatcher)

Factory per le connessioni basate su socket.

Si applica a