Search Results for

    Interface IAMNetSftpEventListener

    Receives SFTP subsystem, file handle, path, and message events.

    Namespace: ApacheMinaSSHD.NET.Wrapper.Abstractions
    Assembly: ApacheMinaSSHD.NET.Wrapper.dll
    Syntax
    public interface IAMNetSftpEventListener

    Methods

    | Edit this page View Source

    OnClosed(ISshEvent)

    Called after a handle is closed.

    Declaration
    void OnClosed(ISshEvent ctx)
    Parameters
    Type Name Description
    ISshEvent ctx

    The handle event metadata.

    | Edit this page View Source

    OnClosing(ISshEvent)

    Called before a handle is closed.

    Declaration
    void OnClosing(ISshEvent ctx)
    Parameters
    Type Name Description
    ISshEvent ctx

    The handle event metadata.

    | Edit this page View Source

    OnCreated(ISshPath)

    Called after a path is created.

    Declaration
    void OnCreated(ISshPath ctx)
    Parameters
    Type Name Description
    ISshPath ctx

    Path metadata.

    | Edit this page View Source

    OnCreating(ISshPath)

    Called before a path is created.

    Declaration
    void OnCreating(ISshPath ctx)
    Parameters
    Type Name Description
    ISshPath ctx

    Path metadata.

    | Edit this page View Source

    OnDestroying(ISshSession)

    Called when the SFTP subsystem is being destroyed for a session.

    Declaration
    void OnDestroying(ISshSession sshSession)
    Parameters
    Type Name Description
    ISshSession sshSession

    The session metadata.

    | Edit this page View Source

    OnExiting(ISshSession, ISshHandle)

    Called when an SFTP handle exits.

    Declaration
    void OnExiting(ISshSession sshSession, ISshHandle sshHandle)
    Parameters
    Type Name Description
    ISshSession sshSession

    The session metadata.

    ISshHandle sshHandle

    The handle metadata.

    | Edit this page View Source

    OnInitialized(ISshSession, int)

    Called when the SFTP subsystem is initialized for a session.

    Declaration
    void OnInitialized(ISshSession sshSession, int version)
    Parameters
    Type Name Description
    ISshSession sshSession

    The session metadata.

    int version

    The negotiated SFTP protocol version.

    | Edit this page View Source

    OnLink(ISshSysLink)

    Called after a hard link or symbolic link is created.

    Declaration
    void OnLink(ISshSysLink ctx)
    Parameters
    Type Name Description
    ISshSysLink ctx

    Link metadata.

    | Edit this page View Source

    OnLinking(ISshSysLink)

    Called before a hard link or symbolic link is created.

    Declaration
    void OnLinking(ISshSysLink ctx)
    Parameters
    Type Name Description
    ISshSysLink ctx

    Link metadata.

    | Edit this page View Source

    OnModifiedAttributes(ISshPath)

    Called after path attributes are modified.

    Declaration
    void OnModifiedAttributes(ISshPath ctx)
    Parameters
    Type Name Description
    ISshPath ctx

    Path metadata.

    | Edit this page View Source

    OnModifyingAttributes(ISshPath)

    Called before path attributes are modified.

    Declaration
    void OnModifyingAttributes(ISshPath ctx)
    Parameters
    Type Name Description
    ISshPath ctx

    Path metadata.

    | Edit this page View Source

    OnMoved(ISshMove)

    Called after a path is moved.

    Declaration
    void OnMoved(ISshMove ctx)
    Parameters
    Type Name Description
    ISshMove ctx

    Move metadata.

    | Edit this page View Source

    OnMoving(ISshMove)

    Called before a path is moved.

    Declaration
    void OnMoving(ISshMove ctx)
    Parameters
    Type Name Description
    ISshMove ctx

    Move metadata.

    | Edit this page View Source

    OnOpen(ISshEvent)

    Called after a handle is opened.

    Declaration
    void OnOpen(ISshEvent ctx)
    Parameters
    Type Name Description
    ISshEvent ctx

    The handle event metadata.

    | Edit this page View Source

    OnOpenFailed(ISshIOFailure)

    Called after a handle open fails.

    Declaration
    void OnOpenFailed(ISshIOFailure ctx)
    Parameters
    Type Name Description
    ISshIOFailure ctx

    The failure metadata.

    | Edit this page View Source

    OnOpening(ISshEvent)

    Called before a handle is opened.

    Declaration
    void OnOpening(ISshEvent ctx)
    Parameters
    Type Name Description
    ISshEvent ctx

    The handle event metadata.

    | Edit this page View Source

    OnRead(ISshReadWrite)

    Called after file data is read.

    Declaration
    void OnRead(ISshReadWrite ctx)
    Parameters
    Type Name Description
    ISshReadWrite ctx

    Read metadata.

    | Edit this page View Source

    OnReadEntries(ISshEntries)

    Called after directory entries are read.

    Declaration
    void OnReadEntries(ISshEntries sshEntries)
    Parameters
    Type Name Description
    ISshEntries sshEntries

    Directory read metadata and entries.

    | Edit this page View Source

    OnReading(ISshReadWrite)

    Called before file data is read.

    Declaration
    void OnReading(ISshReadWrite ctx)
    Parameters
    Type Name Description
    ISshReadWrite ctx

    Read metadata.

    | Edit this page View Source

    OnReadingEntries(ISshEntries)

    Called before directory entries are read.

    Declaration
    void OnReadingEntries(ISshEntries sshEntries)
    Parameters
    Type Name Description
    ISshEntries sshEntries

    Directory read metadata.

    | Edit this page View Source

    OnReceived(ISshReceived)

    Called when an SFTP message is received.

    Declaration
    void OnReceived(ISshReceived sshReceived)
    Parameters
    Type Name Description
    ISshReceived sshReceived

    Received message metadata.

    | Edit this page View Source

    OnReceivedExtension(ISshReceived)

    Called when an SFTP extension message is received.

    Declaration
    void OnReceivedExtension(ISshReceived sshReceived)
    Parameters
    Type Name Description
    ISshReceived sshReceived

    Received message metadata.

    | Edit this page View Source

    OnRemoved(ISshPath)

    Called after a path is removed.

    Declaration
    void OnRemoved(ISshPath ctx)
    Parameters
    Type Name Description
    ISshPath ctx

    Path metadata.

    | Edit this page View Source

    OnRemoving(ISshPath)

    Called before a path is removed.

    Declaration
    void OnRemoving(ISshPath ctx)
    Parameters
    Type Name Description
    ISshPath ctx

    Path metadata.

    | Edit this page View Source

    OnWrite(ISshReadWrite)

    Called after file data is written.

    Declaration
    void OnWrite(ISshReadWrite ctx)
    Parameters
    Type Name Description
    ISshReadWrite ctx

    Write metadata.

    | Edit this page View Source

    OnWriting(ISshReadWrite)

    Called before file data is written.

    Declaration
    void OnWriting(ISshReadWrite ctx)
    Parameters
    Type Name Description
    ISshReadWrite ctx

    Write metadata.

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