Class RfbMessageReceiver
A background thread that receives and processes RFB protocol messages.
Inherited Members
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 SourceRfbMessageReceiver(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 SourceStartReceiveLoop()
Starts the receive loop.
Declaration
public void StartReceiveLoop()
StopReceiveLoopAsync()
Stops the receive loop and waits for completion.
Declaration
public Task StopReceiveLoopAsync()
Returns
Type | Description |
---|---|
Task |
ThreadWorker(CancellationToken)
Declaration
protected override void ThreadWorker(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken |
Overrides
Implements
IDisposable