C# Класс Opc.Ua.Bindings.UaHttpsChannelListener

Manages the connections for a UA HTTPS server.
Наследование: IDisposable, ITransportListener
Показать файл Открыть проект

Открытые методы

Метод Описание
Close ( ) : void

Closes the listener and stops accepting connection.

Dispose ( ) : void

Frees any unmanaged resources.

Open ( Uri baseAddress, TransportListenerSettings settings, ITransportListenerCallback callback ) : void

Opens the listener and starts accepting connection.

SendAsync ( HttpContext context ) : void

Handles requests arriving from a channel.

Start ( ) : void

Starts listening at the specified port.

Stop ( ) : void

Stops listening.

UaHttpsChannelListener ( ) : System

Initializes a new instance of the UaTcpChannelListener class.

Приватные методы

Метод Описание
Dispose ( bool disposing ) : void

Описание методов

Close() публичный Метод

Closes the listener and stops accepting connection.
Thrown if any communication error occurs.
public Close ( ) : void
Результат void

Dispose() публичный Метод

Frees any unmanaged resources.
public Dispose ( ) : void
Результат void

Open() публичный Метод

Opens the listener and starts accepting connection.
Thrown if any parameter is null. Thrown if any communication error occurs.
public Open ( Uri baseAddress, TransportListenerSettings settings, ITransportListenerCallback callback ) : void
baseAddress System.Uri The base address.
settings TransportListenerSettings The settings to use when creating the listener.
callback ITransportListenerCallback The callback to use when requests arrive via the channel.
Результат void

SendAsync() публичный Метод

Handles requests arriving from a channel.
public SendAsync ( HttpContext context ) : void
context HttpContext
Результат void

Start() публичный Метод

Starts listening at the specified port.
public Start ( ) : void
Результат void

Stop() публичный Метод

Stops listening.
public Stop ( ) : void
Результат void

UaHttpsChannelListener() публичный Метод

Initializes a new instance of the UaTcpChannelListener class.
public UaHttpsChannelListener ( ) : System
Результат System