org.objectweb.dream.aggregator
Interface PullPullAggregatorWhileNotNullAttributeController

All Superinterfaces:
AttributeController
All Known Implementing Classes:
PullPullAggregatorWhileNotNullImpl

public interface PullPullAggregatorWhileNotNullAttributeController
extends AttributeController

Attribute controller interface for PullPullAggregatorWhileNotNullImplaggregator implementation. Defines the behavior when the first pulled message is null.


Method Summary
 boolean getPullEmptyMessagePolicy()
          Returns true if the aggregator must return an empty message when no message can't be aggregated.
 void setPullEmptyMessagePolicy(boolean policy)
          Sets the pullEmptyMessage policy.
 

Method Detail

getPullEmptyMessagePolicy

boolean getPullEmptyMessagePolicy()
Returns true if the aggregator must return an empty message when no message can't be aggregated. If false, the aggregator returns null.

Returns:
the current pullEmptyMessage policy.

setPullEmptyMessagePolicy

void setPullEmptyMessagePolicy(boolean policy)
Sets the pullEmptyMessage policy.

Parameters:
policy - the new pullEmptyMessage policy.
See Also:
getPullEmptyMessagePolicy()


Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.