Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

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
Inheritance
Object
ServerModuleHost
Implements
IDisposable
IAsyncDisposable
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

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.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies