Interface AdaptableMailbox

All Superinterfaces:
Clearable, IGroupable, Mailbox
All Known Implementing Classes:
DefaultMailbox, UpdateSplittingMailbox

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 the CommunicationTracker about updates by promoting the adapter itself. Adaptable mailboxes are used by the BehaviorChangingMailbox. Compare this with TimelyMailboxProxy. That one also wraps another mailbox in order to perform preprocessing on the messages sent to the original recipient.
Since:
2.0
  • Method Details

    • getAdapter

      Mailbox getAdapter()
    • setAdapter

      void setAdapter(Mailbox adapter)