C# Class LumiSoft.Net.IMAP.Server.IMAP_Session

IMAP session.
Inheritance: ISocketServerSession
Show file Open project: jeske/StepsDB-alpha Class Usage Examples

Public Methods

Method Description
OnSessionTimeout ( ) : void

Is called by server when session has timed out.

Private Methods

Method Description
Authenticate ( string cmdTag, string argsText ) : void
BeginAppendCmd ( string cmdTag, string argsText ) : bool

Returns true if command ended syncronously.

BeginRecieveCmd ( ) : void

Starts recieveing command.

Capability ( string cmdTag ) : void
Check ( string cmdTag ) : void
Close ( string cmdTag ) : void
Copy ( string cmdTag, string argsText, bool uidCopy ) : void
Create ( string cmdTag, string argsText ) : void
DELETEACL ( string cmdTag, string argsText ) : void
Delete ( string cmdTag, string argsText ) : void
EndAppendCmd ( SocketCallBackResult result, long count, Exception exception, object tag ) : void

Is called when DATA command is finnished.

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

Is called if command is recieved.

EndSession ( ) : void

Ends session, closes socket.

Examine ( string cmdTag, string argsText ) : void
Expunge ( string cmdTag ) : void
Fetch ( string cmdTag, string argsText, bool uidFetch ) : void
GETACL ( string cmdTag, string argsText ) : void
IMAP_Session ( Socket clientSocket, IMAP_Server server, SocketLogger logWriter ) : System

Default constructor.

LISTRIGHTS ( string cmdTag, string argsText ) : void
LSub ( string cmdTag, string argsText ) : void
List ( string cmdTag, string argsText ) : void
LogIn ( string cmdTag, string argsText ) : void
LogOut ( string cmdTag ) : void
MYRIGHTS ( string cmdTag, string argsText ) : void
Namespace ( string cmdTag, string argsText ) : void
Noop ( string cmdTag ) : 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.

ParseMessageFalgs ( string falgsString ) : IMAP_MessageFlags

Parses message flags from string.

ParseMsgNumbersFromSequenceSet ( string sequenceSet, bool uid ) : ArrayList
ParseParams ( string argsText ) : string[]
Rename ( string cmdTag, string argsText ) : void
SETACL ( string cmdTag, string argsText ) : void
Search ( string cmdTag, string argsText, bool uidSearch ) : void
Select ( string cmdTag, string argsText ) : void
StartSession ( ) : void

Starts session.

Status ( string cmdTag, string argsText ) : void
Store ( string cmdTag, string argsText, bool uidStore ) : void
Suscribe ( string cmdTag, string argsText ) : void
SwitchCommand ( string IMAP_commandTxt ) : bool

Executes IMAP command.

Uid ( string cmdTag, string argsText ) : void
UnSuscribe ( string cmdTag, string argsText ) : void

Method Details

OnSessionTimeout() public method

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