public class RemoteReceiver extends SingleInputNode
mailbox, parent
childMailboxes, children
nodeId, reteContainer, tag, traceInfos
Constructor and Description |
---|
RemoteReceiver(ReteContainer reteContainer) |
Modifier and Type | Method and Description |
---|---|
void |
addTarget(Address<? extends Receiver> target) |
void |
pullInto(java.util.Collection<Tuple> collector,
boolean flush)
Pulls the contents of this object in this particular moment into a target collection.
|
void |
pullIntoWithTimestamp(java.util.Map<Tuple,Timestamp> collector,
boolean flush) |
java.util.Collection<Tuple> |
remotePull(boolean flush) |
void |
update(Direction direction,
Tuple updateElement,
Timestamp timestamp)
updates the receiver with a newly found or lost partial matching
|
appendParent, assignTraceInfo, getCommunicationTracker, getMailbox, getParents, instantiateMailbox, propagatePullInto, propagatePullIntoWithTimestamp, removeParent
appendChild, constructIndex, getChildMailboxes, getPulledContents, getReceivers, issueError, networkStructureChanged, propagateUpdate, removeChild
acceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toString, toStringCore
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendChild, constructIndex, getPulledContents, getPulledContents, getReceivers, removeChild
acceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfos, setTag
public RemoteReceiver(ReteContainer reteContainer)
public void pullInto(java.util.Collection<Tuple> collector, boolean flush)
Supplier
flush
- if true, flushing of messages is allowed during the pull, otherwise flushing is not allowedpublic void pullIntoWithTimestamp(java.util.Map<Tuple,Timestamp> collector, boolean flush)
public java.util.Collection<Tuple> remotePull(boolean flush)