站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

TupleSink (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.reteoo
Interface TupleSink

All Superinterfaces:
Serializable
All Known Subinterfaces:
TupleSinkNode
All Known Implementing Classes:
AccumulateNode, CollectNode, EvalConditionNode, ExistsNode, FromNode, JoinNode, NotNode, QueryTerminalNode, RightInputAdapterNode, RuleTerminalNode

public interface TupleSink
extends Serializable

Receiver of propagated ReteTuples from a TupleSource.

Author:
Mark Proctor, Bob McWhirter
See Also:
TupleSource

Method Summary
 void assertTuple(ReteTuple tuple, PropagationContext context, InternalWorkingMemory workingMemory)
          Assert a new ReteTuple.
 void retractTuple(ReteTuple tuple, PropagationContext context, InternalWorkingMemory workingMemory)
           
 

Method Detail

assertTuple

void assertTuple(ReteTuple tuple,
                 PropagationContext context,
                 InternalWorkingMemory workingMemory)
Assert a new ReteTuple.

Parameters:
tuple - The ReteTuple to propagate.
context - The PropagationContext of the WorkingMemory action
workingMemory - the WorkingMemory session.

retractTuple

void retractTuple(ReteTuple tuple,
                  PropagationContext context,
                  InternalWorkingMemory workingMemory)


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.