AsyncWorker
Overview
Abstract base class is used by AsyncServer class to process each asynchronous client connection.
Location
-
Reference:
- RemObjects.InternetPack.dll .NET, .NET Core 5.0, .NET Standard 2.0
- RemObjects.InternetPack.fx Island
- libRemObjects.InternetPack.fx Toffee
- Namespace: RemObjects.InternetPack
constructor protected .NET, .NET Core 5.0, .NET Standard 2.0, Island
constructor
AsyncWorker()
init()
Sub New()
AsyncOwner virtual
Gets or sets the asynchronous owner of the worker.
property AsyncOwner: AsyncServer read write;
AsyncServer AsyncOwner { get; set; }
var AsyncOwner: AsyncServer { get{} set{} }
Property AsyncOwner() As AsyncServer
DataConnection virtual
Gets or sets the connection to the owner server listening socket.
property DataConnection: Connection read write;
Connection DataConnection { get; set; }
var DataConnection: Connection { get{} set{} }
Property DataConnection() As Connection
Done virtual
Closes the connection for client which is processed by this worker.
method Done
void Done()
func Done()
Sub Done()
Owner virtual
Gets or sets the synchronous owner of the worker. In this case the synchronous owner is converted to the asynchronous type server.
property Owner: Server read write;
Server Owner { get; set; }
var Owner: Server { get{} set{} }
Property Owner() As Server
Setup virtual abstract
Disconnects an asynchronous client which is processed by this worker and tries to connect it again.
method Setup
void Setup()
func Setup()
Sub Setup()
AsyncOwner virtual
Gets or sets the asynchronous owner of the worker.
property AsyncOwner: AsyncServer read write;
AsyncServer AsyncOwner { get; set; }
var AsyncOwner: AsyncServer { get{} set{} }
Property AsyncOwner() As AsyncServer
DataConnection virtual
Gets or sets the connection to the owner server listening socket.
property DataConnection: Connection read write;
Connection DataConnection { get; set; }
var DataConnection: Connection { get{} set{} }
Property DataConnection() As Connection
Owner virtual
Gets or sets the synchronous owner of the worker. In this case the synchronous owner is converted to the asynchronous type server.
property Owner: Server read write;
Server Owner { get; set; }
var Owner: Server { get{} set{} }
Property Owner() As Server
constructor protected .NET, .NET Core 5.0, .NET Standard 2.0, Island
constructor
AsyncWorker()
init()
Sub New()
Done virtual
Closes the connection for client which is processed by this worker.
method Done
void Done()
func Done()
Sub Done()
Setup virtual abstract
Disconnects an asynchronous client which is processed by this worker and tries to connect it again.
method Setup
void Setup()
func Setup()
Sub Setup()
- AsyncServer Class