This class implements POP3 server session. Defined RFC 1939.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public class POP3_Session : TCP_ServerSession
Public Class POP3_Session Inherits TCP_ServerSession
public ref class POP3_Session : public TCP_ServerSession
type POP3_Session = class inherit TCP_ServerSession end
Members
All Members | Constructors | Methods | Properties | Events | |
Icon | Member | Description |
---|---|---|
POP3_Session()()()() |
Default constructor.
| |
Authenticate |
This event is raised when session needs to authenticate session using USER/PASS POP3 authentication.
| |
AuthenticatedUserIdentity |
Gets authenticated user identity or null if user has not authenticated.
(Overrides TCP_Session.AuthenticatedUserIdentity.) | |
Authentications |
Gets supported SASL authentication methods collection.
| |
BadCommands |
Gets number of bad commands happened on POP3 session.
| |
Certificate |
Gets session certificate.
(Inherited from TCP_ServerSession.) | |
ConnectTime |
Gets the time when session was connected.
(Inherited from TCP_ServerSession.) | |
DeleteMessage |
This event is raised when session needs to delete specified message.
| |
Disconnect()()()() |
Disconnects session.
(Inherited from TCP_ServerSession.) | |
Disconnect(String) |
Disconnects session.
(Inherited from TCP_ServerSession.) | |
Disonnected |
This event is raised when session has disconnected and will be disposed soon.
(Inherited from TCP_ServerSession.) | |
Dispose()()()() |
Cleans up any resources being used.
(Inherited from TCP_ServerSession.) | |
Disposed |
This event is raised when session has disposed.
(Inherited from TCP_ServerSession.) | |
Equals(Object) | (Inherited from Object.) | |
Error |
This event is raised when TCP server session has unknown unhandled error.
(Inherited from TCP_ServerSession.) | |
Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetMessagesInfo |
This event is raised when session needs to get mailbox messsages info.
| |
GetMessageStream |
This event is raised when session needs to get specified message stream.
| |
GetTopOfMessage |
This event is raised when session needs to get top of the specified message data.
| |
GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
ID |
Gets session ID.
(Inherited from TCP_ServerSession.) | |
IdleTimeout |
This event is raised when session idle(no activity) timeout reached.
(Inherited from TCP_ServerSession.) | |
IsAuthenticated |
Gets if this session is authenticated.
(Inherited from TCP_Session.) | |
IsConnected |
Gets if session is connected.
(Inherited from TCP_ServerSession.) | |
IsDisposed |
Gets if TCP server session is disposed.
(Inherited from TCP_ServerSession.) | |
IsSecureConnection |
Gets if this session TCP connection is secure connection.
(Inherited from TCP_ServerSession.) | |
LastActivity |
Gets the last time when data was sent or received.
(Inherited from TCP_ServerSession.) | |
LocalEndPoint |
Gets session local IP end point.
(Inherited from TCP_ServerSession.) | |
LocalHostName |
Gets local host name.
(Inherited from TCP_ServerSession.) | |
LogAddText(String) |
Logs specified text.
| |
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnError(Exception) |
Is called when session has processing error.
(Overrides TCP_ServerSession.OnError(Exception).) | |
OnTimeout()()()() |
This method is called when specified session times out.
(Overrides TCP_ServerSession.OnTimeout()()()().) | |
RemoteEndPoint |
Gets session remote IP end point.
(Inherited from TCP_ServerSession.) | |
Reset |
This event is raised when session is reset by remote user.
| |
Server |
Gets session owner POP3 server.
| |
Start()()()() |
Starts session processing.
(Overrides TCP_ServerSession.Start()()()().) | |
Started |
Is raised when session has started processing and needs to send +OK greeting or -ERR error resposne to the connected client.
| |
SwitchToSecure()()()() |
Switches session to secure connection.
(Inherited from TCP_ServerSession.) | |
SwitchToSecureAsync(TCP_ServerSession..::..SwitchToSecureAsyncOP) |
Starts switching connection to secure.
(Inherited from TCP_ServerSession.) | |
Tag |
Gets or sets user data.
(Inherited from TCP_ServerSession.) | |
Tags |
Gets user data items collection.
(Inherited from TCP_ServerSession.) | |
TcpStream |
Gets TCP stream which must be used to send/receive data through this session.
(Inherited from TCP_ServerSession.) | |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
Inheritance Hierarchy
Object | |||
TCP_Session | |||
TCP_ServerSession | |||
POP3_Session |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119