Search Results for

    Class AMNetScpCommandFactory

    Configures SCP command support for an AMNetSshServer.

    Inheritance
    object
    AMNetScpCommandFactory
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: ApacheMinaSSHD.NET.Wrapper.Factories
    Assembly: ApacheMinaSSHD.NET.Wrapper.dll
    Syntax
    public class AMNetScpCommandFactory

    Constructors

    | Edit this page View Source

    AMNetScpCommandFactory()

    Creates an SCP command factory with default file handling.

    Declaration
    public AMNetScpCommandFactory()
    | Edit this page View Source

    AMNetScpCommandFactory(IAMNetScpFileOpener)

    Creates an SCP command factory with an application file policy hook.

    Declaration
    public AMNetScpCommandFactory(IAMNetScpFileOpener fileOpener)
    Parameters
    Type Name Description
    IAMNetScpFileOpener fileOpener

    The SCP file policy hook.

    Properties

    | Edit this page View Source

    ReceiveBufferSize

    Gets or sets the incoming SCP receive buffer size in bytes.

    Declaration
    public int ReceiveBufferSize { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    SendBufferSize

    Gets or sets the outgoing SCP send buffer size in bytes.

    Declaration
    public int SendBufferSize { get; set; }
    Property Value
    Type Description
    int

    Methods

    | Edit this page View Source

    addEventListener(IAMNetScpTransferEventListener)

    Registers an SCP transfer event listener.

    Declaration
    public bool addEventListener(IAMNetScpTransferEventListener eventListener)
    Parameters
    Type Name Description
    IAMNetScpTransferEventListener eventListener

    The listener to add.

    Returns
    Type Description
    bool

    true when the listener was added; false if it was already registered.

    | Edit this page View Source

    removeEventListener(IAMNetScpTransferEventListener)

    Removes a previously registered SCP transfer event listener.

    Declaration
    public bool removeEventListener(IAMNetScpTransferEventListener eventListener)
    Parameters
    Type Name Description
    IAMNetScpTransferEventListener eventListener

    The listener to remove.

    Returns
    Type Description
    bool

    true when the listener was removed; otherwise false.

    | Edit this page View Source

    setFileOpener(IAMNetScpFileOpener)

    Sets the SCP file policy hook used for path resolution, filtering, and stream events.

    Declaration
    public void setFileOpener(IAMNetScpFileOpener fileOpener)
    Parameters
    Type Name Description
    IAMNetScpFileOpener fileOpener

    The SCP file policy hook.

    • Edit this page
    • View Source
    In this article
    Back to top Porta SFTP ServerGitHubApacheMinaSSHD.NET Generated by DocFX