Show / Hide Table of Contents

    Class FtpConnectionIdleCheck

    An activity-based keep-alive detection.

    Inheritance
    Object
    FtpConnectionIdleCheck
    Implements
    IFtpConnectionCheck
    IDisposable
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: FubarDev.FtpServer.ConnectionChecks
    Assembly: FubarDev.FtpServer.dll
    Syntax
    public class FtpConnectionIdleCheck : IFtpConnectionCheck, IDisposable

    Constructors

    | Improve this Doc View Source

    FtpConnectionIdleCheck(IFtpConnectionAccessor, IOptions<FtpConnectionOptions>)

    Initializes a new instance of the FtpConnectionIdleCheck class.

    Declaration
    public FtpConnectionIdleCheck(IFtpConnectionAccessor connectionAccessor, IOptions<FtpConnectionOptions> options)
    Parameters
    Type Name Description
    IFtpConnectionAccessor connectionAccessor

    The FTP connection accessor.

    IOptions<FtpConnectionOptions> options

    FTP connection options.

    Methods

    | Improve this Doc View Source

    Check(FtpConnectionCheckContext)

    Check if the connection is usable.

    Declaration
    public FtpConnectionCheckResult Check(FtpConnectionCheckContext context)
    Parameters
    Type Name Description
    FtpConnectionCheckContext context

    The FTP connection check context.

    Returns
    Type Description
    FtpConnectionCheckResult

    FtpConnectionCheckResult that contains the result of the check.

    | Improve this Doc View Source

    Dispose()

    Declaration
    public void Dispose()

    Implements

    IFtpConnectionCheck
    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top
    Copyright © 2018 Fubar Development Junker
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.