diff options
| author | Mirta <mirta@twine-s.com> | 2020-12-30 16:39:52 +0200 |
|---|---|---|
| committer | Mirta <mirta@twine-s.com> | 2020-12-30 16:39:52 +0200 |
| commit | 00a491d93733d4625ad329b2ba8237f445364b3f (patch) | |
| tree | 4b24c6fa78d7648f4bb7cefafa464bb0b063fec4 /Software/Visual_Studio/Tango.Transport/ITransportAdapter.cs | |
| parent | 124ad4150f80c6846fdee41dbbda9848c105f6e5 (diff) | |
| download | Tango-00a491d9.tar.gz Tango-00a491d9.zip | |
merge
Diffstat (limited to 'Software/Visual_Studio/Tango.Transport/ITransportAdapter.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Transport/ITransportAdapter.cs | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/Software/Visual_Studio/Tango.Transport/ITransportAdapter.cs b/Software/Visual_Studio/Tango.Transport/ITransportAdapter.cs index 3c5bed9d0..5e6b528c2 100644 --- a/Software/Visual_Studio/Tango.Transport/ITransportAdapter.cs +++ b/Software/Visual_Studio/Tango.Transport/ITransportAdapter.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.ComponentModel; using System.Linq; using System.Reactive; using System.Reactive.Linq; @@ -13,14 +12,9 @@ namespace Tango.Transport /// Represents a transport adapter capable of connecting, writing and receiving data from a stream. /// </summary> /// <seealso cref="Tango.Transport.ITransportComponent" /> - public interface ITransportAdapter : ITransportComponent, INotifyPropertyChanged + public interface ITransportAdapter : ITransportComponent { /// <summary> - /// Gets the last failed state exception/reason. - /// </summary> - Exception FailedStateException { get; } - - /// <summary> /// Gets the total bytes received. /// </summary> long TotalBytesReceived { get; } @@ -36,16 +30,10 @@ namespace Tango.Transport long TransferRate { get; } /// <summary> - /// Gets or sets a value indicating whether to enable compression/decompression of data. - /// </summary> - bool EnableCompression { get; set; } - - /// <summary> /// Writes the specified data to the stream. /// </summary> /// <param name="data">The data.</param> - /// <param name="immidiate">Writes the data as soon as possible while ignoring any message queuing and batching.</param> - void Write(byte[] data, bool immidiate = false); + void Write(byte[] data); /// <summary> /// Occurs when new data is available. |
