Implement disposable pattern for Connection.
authorJim Gomes <jgomes@apache.org>
Wed, 19 Mar 2014 19:09:34 +0000 (19:09 +0000)
committerJim Gomes <jgomes@apache.org>
Wed, 19 Mar 2014 19:09:34 +0000 (19:09 +0000)
commit09d680ec949b2f55a4f99678c6001a07ce63a677
treed9e2cfe93738041d41626782bb3b48e6f8e5f766
parent41507472e301434a5ac7bfbd938d7ee39a1081e4
Implement disposable pattern for Connection.
Only dispose the producer endpoint after its final release.
Add overloaded send/receive API for destinations.
Initialize the sockets on the correct message handler thread.
src/main/csharp/BaseMessage.cs
src/main/csharp/Connection.cs
src/main/csharp/Destination.cs
src/main/csharp/MessageConsumer.cs
src/main/csharp/MessageProducer.cs
src/test/csharp/ZMQTest.cs