Click or drag to resize

EPStatementSetSubscriber Method (Object)

Attaches a subscriber to receive statement results, or removes a previously set subscriber (by providing a null value).

Note: Requires the allow-subscriber compiler options. Only a single subscriber may be set for a statement. If this method is invoked twice any previously-set subscriber is no longer used.

Namespace:  com.espertech.esper.runtime.client
Assembly:  NEsper.Runtime (in NEsper.Runtime.dll) Version: 8.0.0.0
Syntax
C#
void SetSubscriber(
	Object subscriber
)

Parameters

subscriber
Type: SystemObject
to attach, or null to remove the previously set subscriber
See Also