You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@etch.apache.org by "Yann Nicolas (JIRA)" <ji...@apache.org> on 2013/03/22 16:31:15 UTC

[jira] [Updated] (ETCH-265) CSharp binding not compatible with .Net 2.0

     [ https://issues.apache.org/jira/browse/ETCH-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yann Nicolas updated ETCH-265:
------------------------------

    Attachment: ETCH-265.patch

Git patch to use Queue collection instead of BlockingCollection.
                
> CSharp binding not compatible with .Net 2.0
> -------------------------------------------
>
>                 Key: ETCH-265
>                 URL: https://issues.apache.org/jira/browse/ETCH-265
>             Project: Etch
>          Issue Type: Bug
>          Components: binding-csharp
>    Affects Versions: 1.3
>            Reporter: Yann Nicolas
>         Attachments: ETCH-265.patch
>
>
> In the documentation, it is said that C# binding is compatible with .Net 2.0. However, it is not because the  class BlockingCollection is used in the files "UdpConnection.cs" and "UdpListener.cs", and that class is only available starting with .Net 4.0.
> Being compatible with .Net 2.0 allow to use Etch in project where it is impossible to have an updated version of .Net (eg. Mono, Windows Compact Framework, ...)
> To fix the issue it should be enough to replace the BlockingCollection by a collection available in .Net 2.0 handling the concurrency through locks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira