Difference between revisions of "TPOP3Connection"
From Ultibo.org
(Created page with "Return to Unit POP3 __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible mw-collapse...") |
(No difference)
|
Revision as of 01:42, 25 May 2018
Return to Unit POP3
Description
To be documented
Class definitions
TPOP3Connection = class(TListObject)
public
| |
constructor Create;
|
|
destructor Destroy; override;
|
|
private
| |
FLock:TCriticalSectionHandle;
|
|
FHandle:LongWord;
|
|
FRxByteCount:Int64;
|
Bytes Recv Count from Connection |
FTxByteCount:Int64;
|
Bytes Sent Count to Connection |
FRequestCount:Int64;
|
Requests Recv Count from Connection |
FReplyCount:Int64;
|
Replies Sent Count to Connection |
FRequestTime:TDateTime;
|
Last Request Time |
FReplyTime:TDateTime;
|
Last Reply Time |
FRemoteAddress:String;
|
Address of Remote Client |
FStatus:LongWord;
|
None,Conn,User,Data etc |
FUsername:String;
|
Current Username |
FPassword:String;
|
Current Password |
FTimestamp:String;
|
Timestamp for APOP authentication |
FThread:TThread;
|
TWinsock2TCPServerThread |
FBuffer:TPOP3Buffer;
|
Buffer for received data |
function AcquireLock:Boolean;
|
|
function ReleaseLock:Boolean;
|
|
procedure SetHandle(AHandle:LongWord);
|
|
function GetRxByteCount:Int64;
|
|
procedure SetRxByteCount(const ARxByteCount:Int64);
|
|
function GetTxByteCount:Int64;
|
|
procedure SetTxByteCount(const ATxByteCount:Int64);
|
|
function GetRequestCount:Int64;
|
|
procedure SetRequestCount(const ARequestCount:Int64);
|
|
function GetReplyCount:Int64;
|
|
procedure SetReplyCount(const AReplyCount:Int64);
|
|
function GetRequestTime:TDateTime;
|
|
procedure SetRequestTime(const ARequestTime:TDateTime);
|
|
function GetReplyTime:TDateTime;
|
|
procedure SetReplyTime(const AReplyTime:TDateTime);
|
|
function GetRemoteAddress:String;
|
|
procedure SetRemoteAddress(const ARemoteAddress:String);
|
|
procedure SetStatus(AStatus:LongWord);
|
|
function GetUsername:String;
|
|
procedure SetUsername(const AUsername:String);
|
|
function GetPassword:String;
|
|
procedure SetPassword(const APassword:String);
|
|
function GetTimestamp:String;
|
|
procedure SetTimestamp(const ATimestamp:String);
|
|
procedure SetThread(AThread:TThread);
|
|
public
| |
property Handle:LongWord read FHandle write SetHandle;
|
|
property RxByteCount:Int64 read GetRxByteCount write SetRxByteCount;
|
|
property TxByteCount:Int64 read GetTxByteCount write SetTxByteCount;
|
|
property RequestCount:Int64 read GetRequestCount write SetRequestCount;
|
|
property ReplyCount:Int64 read GetReplyCount write SetReplyCount;
|
|
property RequestTime:TDateTime read GetRequestTime write SetRequestTime;
|
|
property ReplyTime:TDateTime read GetReplyTime write SetReplyTime;
|
|
property RemoteAddress:String read GetRemoteAddress write SetRemoteAddress;
|
|
property Status:LongWord read FStatus write SetStatus;
|
|
property Username:String read GetUsername write SetUsername;
|
|
property Password:String read GetPassword write SetPassword;
|
|
property Timestamp:String read GetTimestamp write SetTimestamp;
|
|
property Thread:TThread read FThread write SetThread;
|
|
property Buffer:TPOP3Buffer read FBuffer;
|
|
procedure IncrementRxByteCount(const ARxByteCount:Int64);
|
|
procedure IncrementTxByteCount(const ATxByteCount:Int64);
|
|
procedure IncrementRequestCount;
|
|
procedure IncrementReplyCount;
|
Function declarations
constructor TPOP3Connection.Create;
Description: To be documented
Note | None documented |
---|
destructor TPOP3Connection.Destroy;
Description: To be documented
Note | None documented |
---|
function TPOP3Connection.AcquireLock:Boolean;
Description: To be documented
Note | None documented |
---|
function TPOP3Connection.ReleaseLock:Boolean;
Description: To be documented
Note | None documented |
---|
procedure TPOP3Connection.SetHandle(AHandle:LongWord);
Description: To be documented
Note | None documented |
---|
function TPOP3Connection.GetRxByteCount:Int64;
Description: To be documented
Note | None documented |
---|
procedure TPOP3Connection.SetRxByteCount(const ARxByteCount:Int64);
Description: To be documented
Note | None documented |
---|
function TPOP3Connection.GetTxByteCount:Int64;
Description: To be documented
Note | None documented |
---|
procedure TPOP3Connection.SetTxByteCount(const ATxByteCount:Int64);
Description: To be documented
Note | None documented |
---|
function TPOP3Connection.GetRequestCount:Int64;
Description: To be documented
Note | None documented |
---|
procedure TPOP3Connection.SetRequestCount(const ARequestCount:Int64);
Description: To be documented
Note | None documented |
---|
function TPOP3Connection.GetReplyCount:Int64;
Description: To be documented
Note | None documented |
---|
procedure TPOP3Connection.SetReplyCount(const AReplyCount:Int64);
Description: To be documented
Note | None documented |
---|
function TPOP3Connection.GetRequestTime:TDateTime;
Description: To be documented
Note | None documented |
---|
procedure TPOP3Connection.SetRequestTime(const ARequestTime:TDateTime);
Description: To be documented
Note | None documented |
---|
function TPOP3Connection.GetReplyTime:TDateTime;
Description: To be documented
Note | None documented |
---|
procedure TPOP3Connection.SetReplyTime(const AReplyTime:TDateTime);
Description: To be documented
Note | None documented |
---|
function TPOP3Connection.GetRemoteAddress:String;
Description: To be documented
Note | None documented |
---|
procedure TPOP3Connection.SetRemoteAddress(const ARemoteAddress:String);
Description: To be documented
Note | None documented |
---|
procedure TPOP3Connection.SetStatus(AStatus:LongWord);
Description: To be documented
Note | None documented |
---|
function TPOP3Connection.GetUsername:String;
Description: To be documented
Note | None documented |
---|
procedure TPOP3Connection.SetUsername(const AUsername:String);
Description: To be documented
Note | None documented |
---|
function TPOP3Connection.GetPassword:String;
Description: To be documented
Note | None documented |
---|
procedure TPOP3Connection.SetPassword(const APassword:String);
Description: To be documented
Note | None documented |
---|
function TPOP3Connection.GetTimestamp:String;
Description: To be documented
Note | None documented |
---|
procedure TPOP3Connection.SetTimestamp(const ATimestamp:String);
Description: To be documented
Note | None documented |
---|
procedure TPOP3Connection.SetThread(AThread:TThread);
Description: To be documented
Note | None documented |
---|
procedure TPOP3Connection.IncrementRxByteCount(const ARxByteCount:Int64);
Description: To be documented
Note | None documented |
---|
procedure TPOP3Connection.IncrementTxByteCount(const ATxByteCount:Int64);
Description: To be documented
Note | None documented |
---|
procedure TPOP3Connection.IncrementRequestCount;
Description: To be documented
Note | None documented |
---|
procedure TPOP3Connection.IncrementReplyCount;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference