TwclIrDAServerDisconnectEvent Delegate
The prototype of the OnDisconnect
event handler for
IrDA server.
type TwclIrDAServerDisconnectEvent = procedure(Sender: TObject; const Client: TwclIrDAServerClientConnection; const Reason: Integer) of object;
Parameters
- Sender
The object that initiated the event.
- Client
The TwclIrDAServerClientConnection represents a remote connected client.
- Reason
The disconnection code. If the parameter is wclErrors.WCL_E_SUCCESS the connection was closed by the
Disconnect
call. Otherwise indicates the disconnection reason.