TPOP3Listener
From Ultibo.org
Return to Unit POP3
Description
To be documented
Class definitions
TPOP3Listener = class(TWinsock2TCPListener)
public
| |
constructor Create;
|
|
private
| |
FOnConnected:TPOP3ConnectionEvent;
|
|
FOnDisconnected:TPOP3ConnectionEvent;
|
|
FOnCheckHost:TPOP3HostEvent;
|
|
FOnCheckCount:TPOP3CountEvent;
|
|
FOnRequest:TPOP3NotifyEvent;
|
|
FOnReply:TPOP3NotifyEvent;
|
|
FOnConn:TPOP3RequestEvent;
|
|
FOnStat:TPOP3RequestEvent;
|
|
FOnList:TPOP3RequestEvent;
|
|
FOnRetr:TPOP3RequestEvent;
|
|
FOnDele:TPOP3RequestEvent;
|
|
FOnNoop:TPOP3RequestEvent;
|
|
FOnRset:TPOP3RequestEvent;
|
|
FOnQuit:TPOP3RequestEvent;
|
|
FOnTop:TPOP3RequestExEvent;
|
|
FOnUidl:TPOP3RequestEvent;
|
|
FOnUser:TPOP3RequestEvent;
|
|
FOnPass:TPOP3RequestEvent;
|
|
FOnApop:TPOP3RequestExEvent;
|
|
protected
| |
procedure DoConnect(AThread:TWinsock2TCPServerThread); override;
|
|
procedure DoDisconnect(AThread:TWinsock2TCPServerThread); override;
|
|
function DoCheckHost(AThread:TWinsock2TCPServerThread):Boolean; virtual;
|
|
function DoCheckCount(AThread:TWinsock2TCPServerThread):Boolean; virtual;
|
|
function DoExecute(AThread:TWinsock2TCPServerThread):Boolean; override;
|
|
procedure DoConn(AThread:TWinsock2TCPServerThread);
|
|
procedure DoStat(AThread:TWinsock2TCPServerThread);
|
|
procedure DoList(AThread:TWinsock2TCPServerThread; const AMessage:String);
|
|
procedure DoRetr(AThread:TWinsock2TCPServerThread; const AMessage:String);
|
|
procedure DoDele(AThread:TWinsock2TCPServerThread; const AMessage:String);
|
|
procedure DoNoop(AThread:TWinsock2TCPServerThread);
|
|
procedure DoRset(AThread:TWinsock2TCPServerThread);
|
|
procedure DoQuit(AThread:TWinsock2TCPServerThread);
|
|
procedure DoTop(AThread:TWinsock2TCPServerThread; const AMessage,ACount:String);
|
|
procedure DoUidl(AThread:TWinsock2TCPServerThread; const AMessage:String);
|
|
procedure DoUser(AThread:TWinsock2TCPServerThread; const AUsername:String);
|
|
procedure DoPass(AThread:TWinsock2TCPServerThread; const APassword:String);
|
|
procedure DoApop(AThread:TWinsock2TCPServerThread; const AUsername,ADigest:String);
|
|
function GetRequest(AThread:TWinsock2TCPServerThread; var ARequest:String):Boolean;
|
|
function SendReply(AThread:TWinsock2TCPServerThread; const AReply:String):Boolean;
|
|
public
| |
property OnConnected:TPOP3ConnectionEvent read FOnConnected write FOnConnected;
|
|
property OnDisconnected:TPOP3ConnectionEvent read FOnDisconnected write FOnDisconnected;
|
|
property OnCheckHost:TPOP3HostEvent read FOnCheckHost write FOnCheckHost;
|
|
property OnCheckCount:TPOP3CountEvent read FOnCheckCount write FOnCheckCount;
|
|
property OnRequest:TPOP3NotifyEvent read FOnRequest write FOnRequest;
|
|
property OnReply:TPOP3NotifyEvent read FOnReply write FOnReply;
|
|
property OnConn:TPOP3RequestEvent read FOnConn write FOnConn;
|
|
property OnStat:TPOP3RequestEvent read FOnStat write FOnStat;
|
|
property OnList:TPOP3RequestEvent read FOnList write FOnList;
|
|
property OnRetr:TPOP3RequestEvent read FOnRetr write FOnRetr;
|
|
property OnDele:TPOP3RequestEvent read FOnDele write FOnDele;
|
|
property OnNoop:TPOP3RequestEvent read FOnNoop write FOnNoop;
|
|
property OnRset:TPOP3RequestEvent read FOnRset write FOnRset;
|
|
property OnQuit:TPOP3RequestEvent read FOnQuit write FOnQuit;
|
|
property OnTop:TPOP3RequestExEvent read FOnTop write FOnTop;
|
|
property OnUidl:TPOP3RequestEvent read FOnUidl write FOnUidl;
|
|
property OnUser:TPOP3RequestEvent read FOnUser write FOnUser;
|
|
property OnPass:TPOP3RequestEvent read FOnPass write FOnPass;
|
|
property OnApop:TPOP3RequestExEvent read FOnApop write FOnApop;
|
Function declarations
constructor TPOP3Listener.Create;
Description: To be documented
Note | None documented |
---|
procedure TPOP3Listener.DoConnect(AThread:TWinsock2TCPServerThread);
Description: To be documented
Note | None documented |
---|
procedure TPOP3Listener.DoDisconnect(AThread:TWinsock2TCPServerThread);
Description: To be documented
Note | None documented |
---|
function TPOP3Listener.DoCheckHost(AThread:TWinsock2TCPServerThread):Boolean;
Description: To be documented
Note | None documented |
---|
function TPOP3Listener.DoCheckCount(AThread:TWinsock2TCPServerThread):Boolean;
Description: To be documented
Note | None documented |
---|
function TPOP3Listener.DoExecute(AThread:TWinsock2TCPServerThread):Boolean;
Description: To be documented
Note | None documented |
---|
procedure TPOP3Listener.DoConn(AThread:TWinsock2TCPServerThread);
Description: To be documented
Note | None documented |
---|
procedure TPOP3Listener.DoStat(AThread:TWinsock2TCPServerThread);
Description: To be documented
Note | None documented |
---|
procedure TPOP3Listener.DoList(AThread:TWinsock2TCPServerThread; const AMessage:String);
Description: To be documented
Note | None documented |
---|
procedure TPOP3Listener.DoRetr(AThread:TWinsock2TCPServerThread; const AMessage:String);
Description: To be documented
Note | None documented |
---|
procedure TPOP3Listener.DoDele(AThread:TWinsock2TCPServerThread; const AMessage:String);
Description: To be documented
Note | None documented |
---|
procedure TPOP3Listener.DoNoop(AThread:TWinsock2TCPServerThread);
Description: To be documented
Note | None documented |
---|
procedure TPOP3Listener.DoRset(AThread:TWinsock2TCPServerThread);
Description: To be documented
Note | None documented |
---|
procedure TPOP3Listener.DoQuit(AThread:TWinsock2TCPServerThread);
Description: To be documented
Note | None documented |
---|
procedure TPOP3Listener.DoTop(AThread:TWinsock2TCPServerThread; const AMessage,ACount:String);
Description: To be documented
Note | None documented |
---|
procedure TPOP3Listener.DoUidl(AThread:TWinsock2TCPServerThread; const AMessage:String);
Description: To be documented
Note | None documented |
---|
procedure TPOP3Listener.DoUser(AThread:TWinsock2TCPServerThread; const AUsername:String);
Description: To be documented
Note | None documented |
---|
procedure TPOP3Listener.DoPass(AThread:TWinsock2TCPServerThread; const APassword:String);
Description: To be documented
Note | None documented |
---|
procedure TPOP3Listener.DoApop(AThread:TWinsock2TCPServerThread; const AUsername,ADigest:String);
Description: To be documented
Note | None documented |
---|
function TPOP3Listener.GetRequest(AThread:TWinsock2TCPServerThread; var ARequest:String):Boolean;
Description: To be documented
Note | None documented |
---|
function TPOP3Listener.SendReply(AThread:TWinsock2TCPServerThread; const AReply:String):Boolean;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference