C# Class StompNet.IO.StompFrameObservable

Implementation of a wrapper of an IStompFrameReader into an IStompFrameObservable.
Inheritance: IStompFrameObservable
Show file Open project: krlito/StompNet

Public Methods

Method Description
Start ( CancellationToken cancellationToken ) : void
StompFrameObservable ( IStompFrameReader reader ) : System

Constructor.

Subscribe ( IObserver observer ) : IDisposable

Private Methods

Method Description
ReadFrames ( CancellationToken cancellationToken ) : Task

Method Details

Start() public method

public Start ( CancellationToken cancellationToken ) : void
cancellationToken System.Threading.CancellationToken
return void

StompFrameObservable() public method

Constructor.
public StompFrameObservable ( IStompFrameReader reader ) : System
reader IStompFrameReader Frame reader.
return System

Subscribe() public method

public Subscribe ( IObserver observer ) : IDisposable
observer IObserver
return IDisposable