This class implements IMAPv4 server. Defined RFC 3501.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public class IMAP_Server : TCP_Server<IMAP_Session>
Public Class IMAP_Server Inherits TCP_Server(Of IMAP_Session)
public ref class IMAP_Server : public TCP_Server<IMAP_Session^>
type IMAP_Server = class inherit TCP_Server<IMAP_Session> end
Members
All Members | Constructors | Methods | Properties | Events | |
Icon | Member | Description |
---|---|---|
IMAP_Server()()()() |
Default constructor.
| |
Bindings |
Gets or sets TCP server IP bindings.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
ConnectionsProcessed |
Gets how many connections this TCP server has processed.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
Dispose()()()() |
Cleans up any resources being used.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
Disposed |
This event is raised when TCP server has disposed.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
Equals(Object) | (Inherited from Object.) | |
Error |
This event is raised when TCP server has unknown unhandled error.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
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.) | |
GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
GreetingText |
Gets or sets server greeting text.
| |
IsDisposed |
Gets if server is disposed.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
IsRunning |
Gets if server is running.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
LocalEndPoints |
Gets local listening IP end points.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
Logger |
Gets or sets logger. Value null means no logging.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
MaxBadCommands |
Gets or sets how many bad commands session can have before it's terminated. Value 0 means unlimited.
| |
MaxConnections |
Gets or sets maximum allowed concurent connections. Value 0 means unlimited.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
MaxConnectionsPerIP |
Gets or sets maximum allowed connections for 1 IP address. Value 0 means unlimited.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnDisposed()()()() |
Raises Disposed event.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
OnMaxConnectionsExceeded(IMAP_Session) |
Is called when new incoming session and server maximum allowed connections exceeded.
(Overrides TCP_Server<(Of <(<'IMAP_Session>)>)>.OnMaxConnectionsExceeded(T).) | |
OnMaxConnectionsPerIPExceeded(IMAP_Session) |
Is called when new incoming session and server maximum allowed connections per connected IP exceeded.
(Overrides TCP_Server<(Of <(<'IMAP_Session>)>)>.OnMaxConnectionsPerIPExceeded(T).) | |
OnStarted()()()() |
Raises Started event.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
OnStopped()()()() |
Raises Stopped event.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
Restart()()()() |
Restarts TCP server.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
SessionCreated |
This event is raised when TCP server creates new session.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
SessionIdleTimeout |
Gets or sets maximum allowed session idle time in seconds, after what session will be terminated. Value 0 means unlimited,
but this is strongly not recommened.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
Sessions |
Gets TCP server active sessions.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
Start()()()() |
Starts TCP server.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
Started |
This event is raised when TCP server has started.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
StartTime |
Gets the time when server was started.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
Stop()()()() |
Stops TCP server, all active connections will be terminated.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
Stopped |
This event is raised when TCP server has stopped.
(Inherited from TCP_Server<(Of <(<'T>)>)>.) | |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
Inheritance Hierarchy
Object | ||
TCP_Server<(Of <(<'IMAP_Session>)>)> | ||
IMAP_Server |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119