Show / Hide Table of Contents

    Class TelnetInputParser<T>

    Filters the TELNET commands usually sent before an ABOR command.

    Inheritance
    Object
    TelnetInputParser<T>
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: FubarDev.FtpServer
    Assembly: FubarDev.FtpServer.dll
    Syntax
    public abstract class TelnetInputParser<T>
    Type Parameters
    Name Description
    T

    The return type of a Collect(ReadOnlySpan<Byte>) operation.

    Methods

    | Improve this Doc View Source

    Collect(ReadOnlySpan<Byte>)

    Collects data and handles the Synch and Interrupt Process TELNET commands.

    Declaration
    public IReadOnlyList<T> Collect(ReadOnlySpan<byte> data)
    Parameters
    Type Name Description
    ReadOnlySpan<Byte> data

    The data buffer.

    Returns
    Type Description
    IReadOnlyList<T>

    The list of items found inside the collected data.

    | Improve this Doc View Source

    DataReceived(ReadOnlySpan<Byte>)

    Collects all non-TELNET data.

    Declaration
    protected abstract IEnumerable<T> DataReceived(ReadOnlySpan<byte> data)
    Parameters
    Type Name Description
    ReadOnlySpan<Byte> data

    The data buffer.

    Returns
    Type Description
    IEnumerable<T>

    The collected items.

    | Improve this Doc View Source

    InterruptProcess()

    Handles the Interrupt Process command.

    Declaration
    protected virtual IEnumerable<T> InterruptProcess()
    Returns
    Type Description
    IEnumerable<T>

    The collected items.

    | Improve this Doc View Source

    Synch()

    Handles the Synch command.

    Declaration
    protected virtual IEnumerable<T> Synch()
    Returns
    Type Description
    IEnumerable<T>

    The collected items.

    • 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.