C# Class StompNet.IO.StompSerialFrameWriter

Wrapper around an IStompFrameWriter for thread-safety. STOMP frames will be written in a sequential/serial FIFO manner.
Inheritance: IStompFrameWriter
Afficher le fichier Open project: krlito/StompNet

Méthodes publiques

Méthode Description
Dispose ( ) : void
StompSerialFrameWriter ( IStompFrameWriter writer ) : System.Threading

Constructor.

WriteAsync ( Frame frame, CancellationToken cancellationToken ) : Task

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

StompSerialFrameWriter() public méthode

Constructor.
public StompSerialFrameWriter ( IStompFrameWriter writer ) : System.Threading
writer IStompFrameWriter Frame writer to be wrapped.
Résultat System.Threading

WriteAsync() public méthode

public WriteAsync ( Frame frame, CancellationToken cancellationToken ) : Task
frame StompNet.Models.Frames.Frame
cancellationToken System.Threading.CancellationToken
Résultat Task