Bagikan melalui


SocketTransportFactory Kelas

Definisi

Pabrik untuk koneksi berbasis soket.

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

Konstruktor

SocketTransportFactory(IOptions<SocketTransportOptions>, IApplicationLifetime, ILoggerFactory)

Pabrik untuk koneksi berbasis soket.

SocketTransportFactory(IOptions<SocketTransportOptions>, ILoggerFactory)

Menginisialisasi instans baru kelas SocketTransportFactory.

Metode

BindAsync(EndPoint, CancellationToken)

Membuat terikat IConnectionListener ke yang ditentukan EndPoint.

CanBind(EndPoint)

Mengembalikan nilai yang menunjukkan apakah pabrik pendengar mendukung pengikatan ke yang ditentukan EndPoint.

Create(IEndPointInformation, IConnectionDispatcher)

Pabrik untuk koneksi berbasis soket.

Berlaku untuk