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, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
acceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfos, setTag
public SimpleReceiver(ReteContainer reteContainer)
reteContainer
- public void appendParent(Supplier supplier)
Receiver
appendParent
in interface Receiver
public void removeParent(Supplier supplier)
Receiver
removeParent
in interface Receiver
public java.util.Collection<Supplier> getParents()
Receiver
getParents
in interface Receiver
public void disconnectFromNetwork()
public void assignTraceInfo(TraceInfo traceInfo)
Node
assignTraceInfo
in interface Node
assignTraceInfo
in class BaseNode