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.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
Ereditarietà
SocketTransportFactory
Implementazioni
Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportFactory IConnectionListenerFactory IConnectionListenerFactorySelector

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