C# Класс LumiSoft.Net.POP3.Server.POP3_Session

POP3 Session.
Наследование: LumiSoft.Net.SocketServerSession
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
OnSessionTimeout ( ) : void

Is called by server when session has timed out.

POP3_Session ( Socket clientSocket, POP3_Server server, SocketLogger logWriter ) : System

Default constructor.

Приватные методы

Метод Описание
APOP ( string argsText ) : void
AUTH ( string argsText ) : void
BeginRecieveCmd ( ) : void

Starts recieveing command.

CAPA ( string argsText ) : void
DELE ( string argsText ) : void
EndRecieveCmd ( SocketCallBackResult result, long count, Exception exception, object tag ) : void

Is called if command is recieved.

EndSend ( SocketCallBackResult result, long count, Exception exception, object tag ) : void

Is called when asynchronous send completes.

EndSession ( ) : void

Ends session, closes socket.

LIST ( string argsText ) : void
NOOP ( ) : void
OnError ( Exception x ) : void

Is called when error occures.

OnSocketActivity ( object sender, EventArgs e ) : void

Is called if there was some activity on socket, some data sended or received.

PASS ( string argsText ) : void
QUIT ( ) : void
RETR ( string argsText ) : void
RSET ( ) : void
Reset ( ) : void
STAT ( ) : void
StartSession ( ) : void

Starts session.

SwitchCommand ( string POP3_commandTxt ) : bool

Parses and executes POP3 commmand.

TOP ( string argsText ) : void
UIDL ( string argsText ) : void
USER ( string argsText ) : void
Update ( ) : void

Описание методов

OnSessionTimeout() публичный Метод

Is called by server when session has timed out.
public OnSessionTimeout ( ) : void
Результат void

POP3_Session() публичный Метод

Default constructor.
public POP3_Session ( Socket clientSocket, POP3_Server server, SocketLogger logWriter ) : System
clientSocket Socket Referance to socket.
server POP3_Server Referance to POP3 server.
logWriter LumiSoft.Net.SocketLogger Log writer.
Результат System