EchoWorker
Overview
EchoWorker is used internally by the EchoServer class to handle the individual connections by echoing the message back to the client.
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.StandardServers
- Ancestry: Worker | EchoWorker
constructor .NET, .NET Core 5.0, .NET Standard 2.0, Island
constructor
EchoWorker()
init()
Sub New()
DataConnection virtual (declared in Worker)
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 (declared in Worker)
This event is fired after client connection being closed.
event Done: EventHandler
delegate EventHandler Done()
__event EventHandler: Done!
Event Done As EventHandler
DoWork protected override
Processes the client connection, sends all messages back to the client.
method DoWork
void DoWork()
func DoWork()
Sub DoWork()
Owner virtual (declared in Worker)
Gets the Server object which is owner of this Worker.
property Owner: Server read write;
Server Owner { get; set; }
var Owner: Server { get{} set{} }
Property Owner() As Server
Thread virtual (declared in Worker)
Gets or sets the thread to execute the Work method that is provided by IWorker interface.
property Thread: Thread read write;
Thread Thread { get; set; }
var Thread: Thread { get{} set{} }
Property Thread() As Thread
Work (declared in Worker)
method Work
void Work()
func Work()
Sub Work()
DataConnection virtual (declared in Worker)
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 (declared in Worker)
Gets the Server object which is owner of this Worker.
property Owner: Server read write;
Server Owner { get; set; }
var Owner: Server { get{} set{} }
Property Owner() As Server
Thread virtual (declared in Worker)
Gets or sets the thread to execute the Work method that is provided by IWorker interface.
property Thread: Thread read write;
Thread Thread { get; set; }
var Thread: Thread { get{} set{} }
Property Thread() As Thread
constructor .NET, .NET Core 5.0, .NET Standard 2.0, Island
constructor
EchoWorker()
init()
Sub New()
DoWork protected override
Processes the client connection, sends all messages back to the client.
method DoWork
void DoWork()
func DoWork()
Sub DoWork()
Work (declared in Worker)
method Work
void Work()
func Work()
Sub Work()
Done (declared in Worker)
This event is fired after client connection being closed.
event Done: EventHandler
delegate EventHandler Done()
__event EventHandler: Done!
Event Done As EventHandler
- EchoServer Class
- Worker Class