Search Results for

    Show / Hide Table of Contents

    Class ChannelStreamHandler<TWire, TDelta, TResult>

    Inheritance
    object
    ChannelStreamHandler<TWire, TDelta, TResult>
    Implements
    IStreamHandler<TWire>
    IStreamHandler
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.IO.Networking.RESTApi
    Assembly: Glitch9.IO.dll
    Syntax
    public sealed class ChannelStreamHandler<TWire, TDelta, TResult> : IStreamHandler<TWire>, IStreamHandler where TResult : IResult
    Type Parameters
    Name Description
    TWire
    TDelta
    TResult

    Constructors

    | Edit this page View Source

    ChannelStreamHandler(ChannelWriter<StreamEvent<TDelta, TResult>>, IStreamPipeline<TWire, TDelta, TResult>, IStreamPostProcessor, ILogger)

    Declaration
    public ChannelStreamHandler(ChannelWriter<StreamEvent<TDelta, TResult>> writer, IStreamPipeline<TWire, TDelta, TResult> pipeline, IStreamPostProcessor postProcessor, ILogger logger)
    Parameters
    Type Name Description
    ChannelWriter<StreamEvent<TDelta, TResult>> writer
    IStreamPipeline<TWire, TDelta, TResult> pipeline
    IStreamPostProcessor postProcessor
    ILogger logger

    Properties

    | Edit this page View Source

    ContentType

    Declaration
    public string ContentType { get; set; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    Ingress(TWire)

    Called when a new chunk of type TWire is received from the stream.

    Declaration
    public void Ingress(TWire @in)
    Parameters
    Type Name Description
    TWire in

    The received chunk or message.

    | Edit this page View Source

    Interrupt(Exception)

    Declaration
    public void Interrupt(Exception ex)
    Parameters
    Type Name Description
    Exception ex
    | Edit this page View Source

    OnCompleteContent()

    Invoked from DownloadHandler's CompleteContent (Unity DownloadHandler).

    Declaration
    public void OnCompleteContent()

    Implements

    IStreamHandler<TWire>
    IStreamHandler

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation