As features have been added to this library the naming convention has changed and there have been a few mistakes along the way:
- There's little indication which classes are low-level wrappers around NNG types (like
AsyncCtx
) and which are high-level C# implementations (likeAsyncContext
) - Some low-level wrappers match NNG naming and some don't;
Message
vsnng_msg
- Some interfaces match implementations and some don't;
Dialer/IDialer
vsAlloc/IMemory
Changes
- [email protected]
- Retiring Subor.nng.NETCore package, all further releases will be as nng.NET
- Breaking changes:
- fix #88 Enforce various
*AsyncContext
wrappers use correct sockets*AsyncContext.Create()
methods take ISocket when they should accept more specific (e.g. ISendSocket)
- Renamed classes:
- AsyncIO => NngAio
- AsyncCtx => NngCtx
- Alloc/IMemory => NngAlloc/INngAlloc
- Dialer/IDialer => NngDialer/INngDialer
- Listener/IListener => NngListener/INngListener
- Message/IMessage/NngMessageHeader/IMessagePart => NngMsg/INngMsg/NngMsgHeader/INngMsgPart
- Socket/ISocket => NngSocket/INngSocket
- Pipe/IPipe => NngPipe/INngPipe
- IStat => INngStat
- Renamed properties:
- Various properties providing access to
nng_*
structs are now allNativeNngStruct
- Various properties providing access to
- Message
Dup()
returnsNngResult
rather than throwing anNngException
on failure
- fix #88 Enforce various
- Removed obsoleted code:
- .Net Framework support; only .NET Core and .NET 5 are supported
ICtx
; instead of downcasting toICtx
useIHasCtx.Ctx
- Factory
Pair0Open
andPair1Open
; usePairOpen
- NNG library binaries built with
-DNNG_ELIDE_DEPRECATED=ON
to remove old getopt/setopt functions