C# Class LumiSoft.Net.POP3.Server.POP3_Session

POP3 Session.
Inheritance: LumiSoft.Net.SocketServerSession
Afficher le fichier Open project: jeske/StepsDB-alpha Class Usage Examples

Méthodes publiques

Méthode Description
OnSessionTimeout ( ) : void

Is called by server when session has timed out.

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

Default constructor.

Private Methods

Méthode Description
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

Method Details

OnSessionTimeout() public méthode

Is called by server when session has timed out.
public OnSessionTimeout ( ) : void
Résultat void

POP3_Session() public méthode

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.
Résultat System