-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add out-of-frame byte support to S101Reader, S101Writer and S101Clien…
…t and adapt tests accordingly References #2
- Loading branch information
1 parent
f031e6b
commit 6a7fa34
Showing
13 changed files
with
233 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
Lawo.EmberPlusSharp/S101/OutOfFrameByteReceivedEventArgs.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
// <copyright>Copyright 2012-2015 Lawo AG (http://www.lawo.com).</copyright> | ||
// Distributed under the Boost Software License, Version 1.0. | ||
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | ||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
|
||
namespace Lawo.EmberPlusSharp.S101 | ||
{ | ||
using System; | ||
|
||
/// <summary>Provides the data for the <see cref="S101Reader.OutOfFrameByteReceived"/> and | ||
/// <see cref="S101Client.OutOfFrameByteReceived"/> events.</summary> | ||
/// <threadsafety static="true" instance="false"/> | ||
public sealed class OutOfFrameByteReceivedEventArgs : EventArgs | ||
{ | ||
private readonly byte value; | ||
|
||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
|
||
/// <summary>Gets the message.</summary> | ||
public byte Value | ||
{ | ||
get { return this.value; } | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
|
||
internal OutOfFrameByteReceivedEventArgs(byte value) | ||
{ | ||
this.value = value; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.