This function has to contain data exchange loop
Declaration
[C#/Java]
virtual void Execute();
virtual void Execute();
[VB.NET]
Overridable Sub Execute()
Overridable Sub Execute()
[Pascal]
procedure Execute; virtual;
procedure Execute; virtual;
[C++]
not implemented;
not implemented;
Description
You should not call this method yourself: it is called by the handler in synchronous mode.
The data exchange loop can look like this:
while ((not Terminated) and (Connected) do
begin
ReceiveData(...); //Data receiving from Connection
//data processing and analysis
SendData(...); //sending of some data to Connection
end;