Interface AdaptableMailbox
-
- All Superinterfaces:
Clearable
,IGroupable
,Mailbox
public interface AdaptableMailbox extends Mailbox
An adaptable mailbox can be wrapped by another mailbox to act in behalf of that. The significance of the adaptation is that the adaptee will notify theCommunicationTracker
about updates by promoting the adapter itself. Adaptable mailboxes are used by theBehaviorChangingMailbox
. Compare this withTimelyMailboxProxy
. That one also wraps another mailbox in order to perform preprocessing on the messages sent to the original recipient.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Mailbox
getAdapter()
void
setAdapter(Mailbox adapter)
-
Methods inherited from interface org.eclipse.viatra.query.runtime.rete.network.mailbox.Mailbox
deliverAll, getCurrentGroup, getReceiver, isEmpty, postMessage, setCurrentGroup
-
-