Search Results for

    Interface IAMNetSessionListener

    Receives SSH session lifecycle, negotiation, and error events.

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

    Methods

    | Edit this page View Source

    OnSessionClosed(ISshSession)

    Called when the SSH session is closed.

    Declaration
    void OnSessionClosed(ISshSession session)
    Parameters
    Type Name Description
    ISshSession session

    The session metadata.

    | Edit this page View Source

    OnSessionCreated(ISshSession)

    Called when a session object is created.

    Declaration
    void OnSessionCreated(ISshSession session)
    Parameters
    Type Name Description
    ISshSession session

    The session metadata.

    | Edit this page View Source

    OnSessionDisconnect(ISshSessionEvent)

    Called when a session disconnect message is observed.

    Declaration
    void OnSessionDisconnect(ISshSessionEvent context)
    Parameters
    Type Name Description
    ISshSessionEvent context

    The disconnect event metadata.

    | Edit this page View Source

    OnSessionEstablished(ISshSession)

    Called when the SSH session is established.

    Declaration
    void OnSessionEstablished(ISshSession session)
    Parameters
    Type Name Description
    ISshSession session

    The session metadata.

    | Edit this page View Source

    OnSessionEvent(ISshSessionEvent)

    Called for a generic session event.

    Declaration
    void OnSessionEvent(ISshSessionEvent context)
    Parameters
    Type Name Description
    ISshSessionEvent context

    The session event metadata.

    | Edit this page View Source

    OnSessionException(ISshSessionEvent)

    Called when an exception is raised for the session.

    Declaration
    void OnSessionException(ISshSessionEvent context)
    Parameters
    Type Name Description
    ISshSessionEvent context

    The session event metadata and exception.

    | Edit this page View Source

    OnSessionNegotiationEnd(ISshSessionEvent)

    Called when key exchange or algorithm negotiation ends.

    Declaration
    void OnSessionNegotiationEnd(ISshSessionEvent context)
    Parameters
    Type Name Description
    ISshSessionEvent context

    The negotiation event metadata.

    | Edit this page View Source

    OnSessionNegotiationOptionsCreated(ISshSessionEvent)

    Called after negotiation options are created.

    Declaration
    void OnSessionNegotiationOptionsCreated(ISshSessionEvent context)
    Parameters
    Type Name Description
    ISshSessionEvent context

    The negotiation options metadata.

    | Edit this page View Source

    OnSessionNegotiationStart(ISshSessionEvent)

    Called when key exchange or algorithm negotiation starts.

    Declaration
    void OnSessionNegotiationStart(ISshSessionEvent context)
    Parameters
    Type Name Description
    ISshSessionEvent context

    The negotiation event metadata.

    | Edit this page View Source

    OnSessionPeerIdentificationLine(ISshSessionEvent)

    Called when a peer identification line is read.

    Declaration
    void OnSessionPeerIdentificationLine(ISshSessionEvent context)
    Parameters
    Type Name Description
    ISshSessionEvent context

    The peer identification metadata.

    | Edit this page View Source

    OnSessionPeerIdentificationReceived(ISshSessionEvent)

    Called when the peer identification string is received.

    Declaration
    void OnSessionPeerIdentificationReceived(ISshSessionEvent context)
    Parameters
    Type Name Description
    ISshSessionEvent context

    The peer identification metadata.

    | Edit this page View Source

    OnSessionPeerIdentificationSend(ISshSessionEvent)

    Called when the server sends its peer identification string.

    Declaration
    void OnSessionPeerIdentificationSend(ISshSessionEvent context)
    Parameters
    Type Name Description
    ISshSessionEvent context

    The peer identification metadata.

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