ServerModuleHost Class
Namespace: Rebex.Net.Servers.Core
Assembly: Rebex.FileServer.dll (version 8.0.9673)
Represents a server module host. Used by hostable modules such as SSH subsystems.
Syntax
public abstract class ServerModuleHost : IDisposable, IAsyncDisposable
Inherited Members
Constructors
| Name | Description |
|---|---|
| ServerModuleHost(Server) | Creates a new instance of module host. |
Methods
| Name | Description |
|---|---|
| Accept(Stream, Object, EndPoint, EndPoint) | Starts server session on the supplied stream. Only supports SSH. |
| Accept(Socket) | Starts handling accepted connection. |
| Accept(Socket, EndPoint, EndPoint) | Starts handling accepted connection. |
| Add(ServerModule) | Add the specified module to this host. |
| Dispose() | Disposes the server module host. |
| Dispose(Boolean) | Releases the unmanaged resources used by the Rebex.Net.Servers.SshModuleHost and optionally releases the managed resources. |
| DisposeAsync() | Asynchronously releases the resources used by the Rebex.Net.Servers.SshModuleHost. |
| DisposeAsyncCore() | Asynchronously releases the resources used by the Rebex.Net.Servers.SshModuleHost. |
| Remove(ServerModule) | Remove the specified module from this host. |