diff options
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. |
