Show / Hide Table of Contents

Interface IRfbProtocolImplementation

Provides access to different elements of a RFB protocol implementation.

Namespace: MarcusW.VncClient.Protocol
Assembly: MarcusW.VncClient.dll
Syntax
public interface IRfbProtocolImplementation

Methods

| Improve this Doc View Source

CreateEncodingTypesCollection(RfbConnectionContext)

Creates a new collection of all supported IEncodingTypes.

Declaration
IImmutableSet<IEncodingType> CreateEncodingTypesCollection(RfbConnectionContext context)
Parameters
Type Name Description
RfbConnectionContext context

Details about the associated connection.

Returns
Type Description
IImmutableSet<IEncodingType>

An immutable set with all supported encoding types.

Remarks

Make sure the encoding types are newly instantiated on each call, because it's not guaranteed that they can safely be used across multiple connections simultaneously.

| Improve this Doc View Source

CreateJpegDecoder(RfbConnectionContext)

Creates a new IJpegDecoder.

Declaration
IJpegDecoder CreateJpegDecoder(RfbConnectionContext context)
Parameters
Type Name Description
RfbConnectionContext context

Details about the associated connection.

Returns
Type Description
IJpegDecoder

A new instance of the jpeg decoder.

| Improve this Doc View Source

CreateMessageReceiver(RfbConnectionContext)

Creates a new IRfbMessageReceiver.

Declaration
IRfbMessageReceiver CreateMessageReceiver(RfbConnectionContext context)
Parameters
Type Name Description
RfbConnectionContext context

Details about the associated connection.

Returns
Type Description
IRfbMessageReceiver

A new instance of the message receiver.

| Improve this Doc View Source

CreateMessageSender(RfbConnectionContext)

Creates a new IRfbMessageSender.

Declaration
IRfbMessageSender CreateMessageSender(RfbConnectionContext context)
Parameters
Type Name Description
RfbConnectionContext context

Details about the associated connection.

Returns
Type Description
IRfbMessageSender

A new instance of the message sender.

| Improve this Doc View Source

CreateMessageTypesCollection(RfbConnectionContext)

Creates a new collection of all supported IMessageTypes.

Declaration
IImmutableSet<IMessageType> CreateMessageTypesCollection(RfbConnectionContext context)
Parameters
Type Name Description
RfbConnectionContext context

Details about the associated connection.

Returns
Type Description
IImmutableSet<IMessageType>

An immutable set with all supported message types.

Remarks

Make sure the message types are newly instantiated on each call, because it's not guaranteed that they can safely be used across multiple connections simultaneously.

| Improve this Doc View Source

CreateRfbHandshaker(RfbConnectionContext)

Creates a new IRfbHandshaker.

Declaration
IRfbHandshaker CreateRfbHandshaker(RfbConnectionContext context)
Parameters
Type Name Description
RfbConnectionContext context

Details about the associated connection.

Returns
Type Description
IRfbHandshaker

A new instance of the RFB handshaker.

| Improve this Doc View Source

CreateRfbInitializer(RfbConnectionContext)

Creates a new IRfbInitializer.

Declaration
IRfbInitializer CreateRfbInitializer(RfbConnectionContext context)
Parameters
Type Name Description
RfbConnectionContext context

Details about the associated connection.

Returns
Type Description
IRfbInitializer

A new instance of the RFB initializer.

| Improve this Doc View Source

CreateSecurityTypesCollection(RfbConnectionContext)

Creates a new collection of all supported ISecurityTypes.

Declaration
IImmutableSet<ISecurityType> CreateSecurityTypesCollection(RfbConnectionContext context)
Parameters
Type Name Description
RfbConnectionContext context

Details about the associated connection.

Returns
Type Description
IImmutableSet<ISecurityType>

An immutable set with all supported security types.

Remarks

Make sure the security types are newly instantiated on each call, because it's not guaranteed that they can safely be used across multiple connections simultaneously.

| Improve this Doc View Source

CreateStateObject(RfbConnectionContext)

Creates a new IRfbProtocolState state object.

Declaration
IRfbProtocolState CreateStateObject(RfbConnectionContext context)
Parameters
Type Name Description
RfbConnectionContext context

Details about the associated connection.

Returns
Type Description
IRfbProtocolState

A new state object.

| Improve this Doc View Source

CreateTransportConnector(RfbConnectionContext)

Creates a new ITransportConnector.

Declaration
ITransportConnector CreateTransportConnector(RfbConnectionContext context)
Parameters
Type Name Description
RfbConnectionContext context

Details about the associated connection.

Returns
Type Description
ITransportConnector

A new instance of the transport connector.

| Improve this Doc View Source

CreateZLibInflater(RfbConnectionContext)

Creates a new IZLibInflater.

Declaration
IZLibInflater CreateZLibInflater(RfbConnectionContext context)
Parameters
Type Name Description
RfbConnectionContext context

Details about the associated connection.

Returns
Type Description
IZLibInflater

A new instance of the zlib inflater.

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