public class UpdateSplittingMailbox extends AbstractUpdateSplittingMailbox<DefaultMessageIndexer,Receiver> implements AdaptableMailbox
Modifier and Type | Field and Description |
---|---|
protected Mailbox |
adapter |
antiMonotoneBuffer, antiMonotoneQueue, container, deliveringAntiMonotone, deliveringMonotone, group, monotoneBuffer, monotoneQueue, receiver
Constructor and Description |
---|
UpdateSplittingMailbox(Receiver receiver,
ReteContainer container) |
Modifier and Type | Method and Description |
---|---|
void |
deliverAll(MessageKind kind)
Delivers all messages of the given kind from this mailbox.
|
Mailbox |
getAdapter() |
void |
postMessage(Direction direction,
Tuple update)
Posts a new message to this mailbox.
|
void |
setAdapter(Mailbox adapter) |
java.lang.String |
toString() |
clear, getActiveAntiMonotoneQueue, getActiveMonotoneQueue, getCurrentGroup, getReceiver, isEmpty, setCurrentGroup, swapAndClearAntiMonotone, swapAndClearMonotone
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCurrentGroup, getReceiver, isEmpty, setCurrentGroup
protected Mailbox adapter
public UpdateSplittingMailbox(Receiver receiver, ReteContainer container)
public Mailbox getAdapter()
getAdapter
in interface AdaptableMailbox
public void setAdapter(Mailbox adapter)
setAdapter
in interface AdaptableMailbox
public void postMessage(Direction direction, Tuple update)
Mailbox
postMessage
in interface Mailbox
direction
- the direction of the updateupdate
- the update elementpublic void deliverAll(MessageKind kind)
Mailbox
deliverAll
in interface Mailbox
kind
- the message kindpublic java.lang.String toString()
toString
in class java.lang.Object