net.esper.eql.core
Class ViewResourceDelegateImpl

java.lang.Object
  extended by net.esper.eql.core.ViewResourceDelegateImpl
All Implemented Interfaces:
ViewResourceDelegate

public class ViewResourceDelegateImpl
extends Object
implements ViewResourceDelegate


Constructor Summary
ViewResourceDelegateImpl(ViewFactoryChain[] viewFactories)
           
 
Method Summary
 boolean requestCapability(int streamNumber, ViewCapability requestedCabability, ViewResourceCallback resourceCallback)
          Request a view resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewResourceDelegateImpl

public ViewResourceDelegateImpl(ViewFactoryChain[] viewFactories)
Method Detail

requestCapability

public boolean requestCapability(int streamNumber,
                                 ViewCapability requestedCabability,
                                 ViewResourceCallback resourceCallback)
Description copied from interface: ViewResourceDelegate
Request a view resource.

Specified by:
requestCapability in interface ViewResourceDelegate
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