LumiSoft Mail Server User API
SocketServer Class
Namespaces > LumiSoft.Net > SocketServer
This is base class for Socket and Session based servers.
Syntax

C# | Visual Basic | Managed C++

    public abstract class SocketServer : Component

    Public MustInherit Class SocketServer _
    	Inherits Component

    public ref class SocketServer abstract : public Component

Members

All Members | Constructors | Methods | Properties | Fields | Events
Public Protected | Instance Static | Declared Inherited

Icon | Member | Description
--- | --- | ---
| SocketServer New() | Default constructor.
| AddSession(SocketServerSession) | Adds specified session to sessions collection.
| BindInfo | Gets or set socket binding info. Use this property to specify on which IP,port server listnes and also if is SSL or STARTTLS support.
| CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Inherited from Component.)
| Container | Gets the IContainer that contains the Component. (Inherited from Component.)
| CreateObjRef(Type) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
| DesignMode | Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
| Dispose() | Clean up any resources being used and stops server. (Overrides Component.Dispose().)
| Dispose(Boolean) | Releases the unmanaged resources used by the Component and optionally releases the managed resources. (Inherited from Component.)
| Disposed | Adds an event handler to listen to the Disposed event on the component. (Inherited from Component.)
| Enabled | Runs and stops server.
| Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
| Finalize() | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
| GetHashCode() | Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
| GetLifetimeService() | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
| GetService(Type) | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
| GetType() | Gets the Type of the current instance. (Inherited from Object.)
| HostName | Gets or set host name that is reported to clients.
| InitializeLifetimeService() | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
| InitNewSession(Socket, BindInfo) | Initialize and start new session here. Session isn't added to session list automatically, session must add itself to server session list by calling AddSession().
| LogCommands | Gets or sets if to log commands.
| MaxBadCommands | Gets or sets maximum bad commands allowed to session.
| MaxConnections | Gets or sets maximum allowed connections.
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
| OnSysError(String, Exception) | [Missing <summary> documentation for M:LumiSoft.Net.SocketServer.OnSysError(System.String,System.Exception)]
| RemoveSession(SocketServerSession) | Removes specified session from sessions collection.
| SessionIdleTimeOut | Session idle timeout in milliseconds.
| Sessions | Gets active sessions.
| Site | Gets or sets the ISite of the Component. (Inherited from Component.)
| StartServer() | Starts server.
| StopServer() | Stops server. NOTE: Active sessions aren't cancled.
| SysError | Occurs when server or session has system error(unhandled error).
| ToString() | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)

Inheritance Hierarchy

Object
| MarshalByRefObject
|  | Component
|  |  | SocketServer
|  |  |  | IMAP_Server
|  |  |  | SMTP_Server
|  |  |  | POP3_Server
|  |  |  | FTP_Server

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)