net.esper.eql.core
Interface ViewResourceDelegate

All Known Implementing Classes:
ViewResourceDelegateImpl

public interface ViewResourceDelegate

Service to expression nodes for indicating view resource requirements.


Method Summary
 boolean requestCapability(int streamNumber, ViewCapability requestedCabability, ViewResourceCallback resourceCallback)
          Request a view resource.
 

Method Detail

requestCapability

boolean requestCapability(int streamNumber,
                          ViewCapability requestedCabability,
                          ViewResourceCallback resourceCallback)
                          throws ExprValidationException
Request a view resource.

Parameters:
streamNumber - is the stream number to provide the resource
requestedCabability - describes the view capability required
resourceCallback - for the delegate to supply the resource
Returns:
true to indicate the resource can be granted
Throws:
ExprValidationException - for use by capabilities if a capability cannot be provide or a policy is violated

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com