Show / Hide Table of Contents

Class RfbMessageReceiver

A background thread that receives and processes RFB protocol messages.

Inheritance
System.Object
BackgroundThread
RfbMessageReceiver
Implements
IRfbMessageReceiver
IBackgroundThread
IDisposable
Inherited Members
BackgroundThread.Failed
BackgroundThread.Start()
BackgroundThread.StopAndWaitAsync()
BackgroundThread.Dispose()
BackgroundThread.Dispose(Boolean)
Namespace: MarcusW.VncClient.Protocol.Implementation.Services.Communication
Assembly: MarcusW.VncClient.dll
Syntax
public sealed class RfbMessageReceiver : BackgroundThread, IRfbMessageReceiver, IBackgroundThread, IDisposable

Constructors

| Improve this Doc View Source

RfbMessageReceiver(RfbConnectionContext)

Initializes a new instance of the RfbMessageReceiver.

Declaration
public RfbMessageReceiver(RfbConnectionContext context)
Parameters
Type Name Description
RfbConnectionContext context

The connection context.

Methods

| Improve this Doc View Source

StartReceiveLoop()

Starts the receive loop.

Declaration
public void StartReceiveLoop()
| Improve this Doc View Source

StopReceiveLoopAsync()

Stops the receive loop and waits for completion.

Declaration
public Task StopReceiveLoopAsync()
Returns
Type Description
Task
| Improve this Doc View Source

ThreadWorker(CancellationToken)

Declaration
protected override void ThreadWorker(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Overrides
BackgroundThread.ThreadWorker(CancellationToken)

Implements

IRfbMessageReceiver
IBackgroundThread
IDisposable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX