Indy 9
|
TIdPOP3ServerLogin = procedure (AThread :TIdPeerThread; LThread : TIdPOP3ServerThread) of object;
AThread is the thread for the client connection provided by the command handler. LThread is AThread cast to a TIdPOP3ServerThread to allow acces to the Username, Password, and State for the POP3 client connection.
TIdPOP3ServerLogin allows the server to perform identification and authentication using properties in LThread. TIdPOP3ServerLogin is the type signalled to the CheckUser event handler in the server implementation.
Note: The event handler is responsible for setting the value for the TIdPOP3ServerThread.State property.