public abstract class SimpleReceiver extends BaseNode implements Receiver
| Constructor and Description |
|---|
SimpleReceiver(ReteContainer reteContainer) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendParent(Supplier supplier)
appends a parent that will continously send insert and revoke updates to this supplier
|
void |
assignTraceInfo(TraceInfo traceInfo)
assigns new traceability info to this node
|
void |
disconnectFromNetwork()
Disconnects this node from the network.
|
java.util.Collection<Supplier> |
getParents()
access active parent
|
void |
removeParent(Supplier supplier)
removes a parent
|
acceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfos, setTag, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitacceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfos, setTagpublic SimpleReceiver(ReteContainer reteContainer)
reteContainer - public void appendParent(Supplier supplier)
ReceiverappendParent in interface Receiverpublic void removeParent(Supplier supplier)
ReceiverremoveParent in interface Receiverpublic java.util.Collection<Supplier> getParents()
ReceivergetParents in interface Receiverpublic void disconnectFromNetwork()
public void assignTraceInfo(TraceInfo traceInfo)
NodeassignTraceInfo in interface NodeassignTraceInfo in class BaseNode