Click or drag to resize

UpdateListenerUpdate Method

Notify that new events are available or old events are removed.

If the call to Update contains new (inserted) events, then the first argument will be a non-empty list and the second will be empty. Similarly, if the call is a notification of deleted events, then the first argument will be empty and the second will be non-empty.

Either the newEvents or oldEvents will be non-null. This method won't be called with both arguments being null, (unless using output rate limiting or force-output options), but either one could be null. The same is true for zero-length arrays.

Either newEvents or oldEvents will be non-empty. This method won't be called with both arguments being null (unless using output rate limiting or force-output options), but either one could be null. The same is true for zero-length arrays. Either newEvents or oldEvents will be non-empty.If both are non-empty, then the update is a modification.

Namespace:  com.espertech.esper.runtime.client
Assembly:  NEsper.Runtime (in NEsper.Runtime.dll) Version: 8.0.0.0
Syntax
C#
void Update(
	Object sender,
	UpdateEventArgs eventArgs
)

Parameters

sender
Type: SystemObject

[Missing <param name="sender"/> documentation for "M:com.espertech.esper.runtime.client.UpdateListener.Update(System.Object,com.espertech.esper.runtime.client.UpdateEventArgs)"]

eventArgs
Type: com.espertech.esper.runtime.clientUpdateEventArgs

[Missing <param name="eventArgs"/> documentation for "M:com.espertech.esper.runtime.client.UpdateListener.Update(System.Object,com.espertech.esper.runtime.client.UpdateEventArgs)"]

See Also