Click or drag to resize

INotifyMemoryService Interface

Protocol service for providing access to the memory in a peer that will notify when the data at the address changes. DataChanged callbacks will pass MemoryAccessesChangedEventArgs. The MemoryAccess returned from GetAddresses(IReadOnlyListMemoryRequest, Object) implements INotifyDataChanged which will pass MemoryAccessChangedEventArgs.

Namespace: Demo3D.PLC.Comms.Memory
Assembly: PLC (in PLC.dll) Version: 19.00.00
Syntax
C#
public interface INotifyMemoryService : IMemoryService, 
	INotifyDataChanged

The INotifyMemoryService type exposes the following members.

Properties
 NameDescription
Public propertyAddressType The type of address expected by this service. The type must implement IAddress.
(Inherited from IMemoryService)
Public propertyCanSubscribe Returns true if data changes can be subscribed to.
(Inherited from INotifyDataChanged)
Public propertyDataSubscribed Returns true if data changes are currently subscribed to.
(Inherited from INotifyDataChanged)
Public propertyPduSize Get the underlying PDU size.
(Inherited from IMemoryService)
Top
Methods
 NameDescription
Public methodAddDataChanged Add a handler for the DataChanged event.
(Inherited from INotifyDataChanged)
Public methodDropAccesses Called to indicate that memory accesses are no longer required.
(Inherited from IMemoryService)
Public methodGetAddresses Get access to an address in the memory of a peer.
(Inherited from IMemoryService)
Public methodInternalReadV Vectored read request.
(Inherited from IMemoryService)
Public methodInternalWriteV Vectored write request.
(Inherited from IMemoryService)
Public methodRemoveDataChanged Remove a handler from the DataChanged event.
(Inherited from INotifyDataChanged)
Top
Events
 NameDescription
Public eventDataChanged Occurs when data has arrived or changed.
(Inherited from INotifyDataChanged)
Top
Extension Methods
 NameDescription
Public Extension MethodGetAddress Get access to an address in the memory of a peer.
(Defined by MemoryService)
Public Extension MethodGetAddress Get access to an address in the memory of a peer.
(Defined by MemoryService)
Public Extension MethodCode exampleGetEventQueue Subscribes to data changed events and returns a NotifyDataChangedEventQueue.
(Defined by NotifyDataChanged)
Public Extension MethodReadV Vectored read request.
(Defined by MemoryService)
Public Extension MethodWriteV Vectored write request.
(Defined by MemoryService)
Top
See Also