org.jactr.core.buffer.delegate
Class ExpandChunkRequestDelegate

java.lang.Object
  extended by org.jactr.core.buffer.delegate.ExpandChunkRequestDelegate
All Implemented Interfaces:
IRequestDelegate

public class ExpandChunkRequestDelegate
extends java.lang.Object
implements IRequestDelegate

takes a chunk request and automatically expands it to the chunktype request and resubmits it.

Author:
harrison

Constructor Summary
ExpandChunkRequestDelegate(boolean includeNullValues)
           
 
Method Summary
 void clear()
          clear/cancel any pending requests
 boolean request(IRequest request, IActivationBuffer buffer, double requestTime)
          do the module specific processing
 boolean willAccept(IRequest request)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandChunkRequestDelegate

public ExpandChunkRequestDelegate(boolean includeNullValues)
Method Detail

willAccept

public boolean willAccept(IRequest request)
Specified by:
willAccept in interface IRequestDelegate

request

public boolean request(IRequest request,
                       IActivationBuffer buffer,
                       double requestTime)
Description copied from interface: IRequestDelegate
do the module specific processing

Specified by:
request in interface IRequestDelegate
Returns:
true if this was successful (will propogate the buffer event)

clear

public void clear()
Description copied from interface: IRequestDelegate
clear/cancel any pending requests

Specified by:
clear in interface IRequestDelegate