Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [milo-dev] Write and read methods in namespace (0.3)

Stefano,

The intention when using ManagedAddressSpace is that all your nodes are UaNode instances and that reads and writes will be handled automatically by ManagedAddressSpace. If you override read and/or write you'll have to make sure to either call super or handle it yourself.

For simple address spaces based on this class, though, you can just use an AttributeDelegate to intercept set/get on any attribute you want.

If your address space is doing something more complex, perhaps modeling tags in some device, and needs to do special optimization and grouping of reads and writes, then ManagedAddressSpace may be the wrong choice.

On Wed, Apr 10, 2019 at 5:00 AM Stefano Lissa <satollo@xxxxxxxxx> wrote:
Hi,
I see in the new server example the methods write and read have been moved to the ManagedAddressSpaceServices class. Are they intended as a template to be overwritten?

Thank you, Stefano.

--
ing. Stefano Lissa
_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/milo-dev

Back to the top