C# Class StompNet.IO.StompSerialFrameReader

Wrapper around an IStompFrameReader for thread-safety. STOMP frames will be read in a sequential/serial FIFO manner.
Inheritance: IStompFrameReader
Mostra file Open project: krlito/StompNet

Public Methods

Method Description
Dispose ( ) : void
ReadFrameAsync ( CancellationToken cancellationToken ) : Task
StompSerialFrameReader ( IStompFrameReader reader ) : System.Threading

Constructor.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

ReadFrameAsync() public method

public ReadFrameAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
return Task

StompSerialFrameReader() public method

Constructor.
public StompSerialFrameReader ( IStompFrameReader reader ) : System.Threading
reader IStompFrameReader Frame reader to be wrapped.
return System.Threading