Class ChannelStreamHandler<TWire, TDelta, TResult>
Inheritance
ChannelStreamHandler<TWire, TDelta, TResult>
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
Properties
|
Edit this page
View Source
ContentType
Declaration
public string ContentType { get; set; }
Property Value
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
|
Edit this page
View Source
OnCompleteContent()
Invoked from DownloadHandler's CompleteContent (Unity DownloadHandler).
Declaration
public void OnCompleteContent()
Implements
Extension Methods