C# Class GooglePlayServices.CommandLine.AsyncStreamReaderMultiplexer

Multiplexes data read from multiple AsyncStreamReaders onto a single thread.
Show file Open project: googlesamples/unity-jar-resolver

Public Methods

Method Description
AsyncStreamReaderMultiplexer ( AsyncStreamReader readers, AsyncStreamReader handler, CompletionHandler complete = null ) : System.Collections.Generic

Create the multiplexer and attach it to the specified handler.

Shutdown ( ) : void

Shutdown the multiplexer.

Private Methods

Method Description
HandleRead ( StreamData streamData ) : void
PollQueue ( ) : void

Method Details

AsyncStreamReaderMultiplexer() public method

Create the multiplexer and attach it to the specified handler.
public AsyncStreamReaderMultiplexer ( AsyncStreamReader readers, AsyncStreamReader handler, CompletionHandler complete = null ) : System.Collections.Generic
readers System.Diagnostics.AsyncStreamReader Readers to read.
handler System.Diagnostics.AsyncStreamReader Called for queued data item.
complete CompletionHandler Called when all readers complete.
return System.Collections.Generic

Shutdown() public method

Shutdown the multiplexer.
public Shutdown ( ) : void
return void