diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2020-03-03 18:56:58 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2020-03-03 18:56:58 +0200 |
| commit | c38f1c80f1fbdfdb758c5a0b93d045a9a5b526ad (patch) | |
| tree | 20cc57b06f4260b6f86fdaca04129e1a8ace53cd /Software/Visual_Studio/Tango.RemoteDesktop/Network | |
| parent | 1b0bdf6f8148e9cc4e7e07e41e9e2d75039c1349 (diff) | |
| download | Tango-c38f1c80f1fbdfdb758c5a0b93d045a9a5b526ad.tar.gz Tango-c38f1c80f1fbdfdb758c5a0b93d045a9a5b526ad.zip | |
Machine Studio v4.1.2
PPC v1.1.5
Added BYPASS_ROCKERS to SQLExaminer config.
Started integrating FSE Remote/Console To PPC.
Added support for generic continuous request.
Diffstat (limited to 'Software/Visual_Studio/Tango.RemoteDesktop/Network')
3 files changed, 67 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.RemoteDesktop/Network/RemoteDesktopPacket.cs b/Software/Visual_Studio/Tango.RemoteDesktop/Network/RemoteDesktopPacket.cs new file mode 100644 index 000000000..28f890a9a --- /dev/null +++ b/Software/Visual_Studio/Tango.RemoteDesktop/Network/RemoteDesktopPacket.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.RemoteDesktop.Network +{ + public class RemoteDesktopPacket + { + /// <summary> + /// Gets or sets the bitmap byte array. + /// </summary> + public byte[] Bitmap { get; set; } + + /// <summary> + /// Gets or sets a value indicating whether the <see cref="Bitmap"/> is a partial bitmap that needs to be applied over the previous one. + /// </summary> + public bool IsPartial { get; set; } + + /// <summary> + /// Gets or sets the region on the previous bitmap that needs to be applied with this packet bitmap. + /// </summary> + public CaptureRegion PartialRegion { get; set; } + } +} diff --git a/Software/Visual_Studio/Tango.RemoteDesktop/Network/StartRemoteDesktopSessionRequest.cs b/Software/Visual_Studio/Tango.RemoteDesktop/Network/StartRemoteDesktopSessionRequest.cs new file mode 100644 index 000000000..f6d572b83 --- /dev/null +++ b/Software/Visual_Studio/Tango.RemoteDesktop/Network/StartRemoteDesktopSessionRequest.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.RemoteDesktop.Network +{ + /// <summary> + /// Represents a message for starting the remote desktop session. + /// </summary> + public class StartRemoteDesktopSessionRequest + { + + } +} diff --git a/Software/Visual_Studio/Tango.RemoteDesktop/Network/StartRemoteDesktopSessionResponse.cs b/Software/Visual_Studio/Tango.RemoteDesktop/Network/StartRemoteDesktopSessionResponse.cs new file mode 100644 index 000000000..2c1d0e635 --- /dev/null +++ b/Software/Visual_Studio/Tango.RemoteDesktop/Network/StartRemoteDesktopSessionResponse.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.RemoteDesktop.Network +{ + /// <summary> + /// Represents a continuous message for updating about remote desktop changes. + /// </summary> + public class StartRemoteDesktopSessionResponse + { + /// <summary> + /// Gets or sets the remote desktop packet. + /// </summary> + public RemoteDesktopPacket Packet { get; set; } + + /// <summary> + /// Capture frame rate reported by the host. + /// Will be sent only on the first response! + /// </summary> + public int FrameRate { get; set; } + } +} |
