diff options
| author | Roy <roy.mail.net@gmail.com> | 2018-01-02 22:26:11 +0200 |
|---|---|---|
| committer | Roy <roy.mail.net@gmail.com> | 2018-01-02 22:26:11 +0200 |
| commit | 0ab7e3d35c01eaaa6ebf03225971909bea365597 (patch) | |
| tree | 03394eaeb59e077821da0859e1e4f184af209adb /Software/Visual_Studio/Tango.Transport/TransportMessageBase.cs | |
| parent | a894d541baa4f89f1b0f31c88b773ea4b36db323 (diff) | |
| download | Tango-0ab7e3d35c01eaaa6ebf03225971909bea365597.tar.gz Tango-0ab7e3d35c01eaaa6ebf03225971909bea365597.zip | |
Refactored Transporter Adapters collection to single adapter !
Diffstat (limited to 'Software/Visual_Studio/Tango.Transport/TransportMessageBase.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Transport/TransportMessageBase.cs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Software/Visual_Studio/Tango.Transport/TransportMessageBase.cs b/Software/Visual_Studio/Tango.Transport/TransportMessageBase.cs index 4cc3823cf..27ad053be 100644 --- a/Software/Visual_Studio/Tango.Transport/TransportMessageBase.cs +++ b/Software/Visual_Studio/Tango.Transport/TransportMessageBase.cs @@ -13,11 +13,6 @@ namespace Tango.Transport public abstract class TransportMessageBase { /// <summary> - /// Gets or sets the source/destination adapter. - /// </summary> - public ITransportAdapter Adapter { get; set; } - - /// <summary> /// Gets or sets a value indicating whether this instance is multi response. /// </summary> public bool IsContinuous { get; set; } @@ -61,9 +56,8 @@ namespace Tango.Transport /// <param name="message">The message.</param> /// <param name="direction">The direction.</param> /// <param name="toBytes">To bytes.</param> - public TransportMessageBase(ITransportAdapter adapter, String token, object message, TransportMessageDirection direction, Func<byte[]> toBytes) + public TransportMessageBase(String token, object message, TransportMessageDirection direction, Func<byte[]> toBytes) { - Adapter = adapter; Token = token; Message = message; Direction = direction; |
