Quantcast
Channel: C# Based Open Source SNMP Library for .NET and Mono
Viewing all articles
Browse latest Browse all 576

New Post: Multi-Threading with ISnmpMessage classes

$
0
0
ISnmpMessage derived classes can be viewed as the object representation of raw bytes in the packets,
  • They are designed to be immutable once constructed. (If it fails to meet this, please report a bug.)
  • Each instance should be independent of another.
And that's why I stated they can use in multi-threaded environment. Since static methods in Messenger class generate such instances under the hood, I think they are thread-safe too.

Regards,

Lex

Viewing all articles
Browse latest Browse all 576

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>