Interface Mailbox

    • Method Detail

      • postMessage

        void postMessage​(Direction direction,
                         Tuple update,
                         Timestamp timestamp)
        Posts a new message to this mailbox.
        Parameters:
        direction - the direction of the update
        update - the update element
        Since:
        2.4
      • deliverAll

        void deliverAll​(MessageSelector selector)
        Delivers all messages according to the given selector from this mailbox. The selector can also be null. In this case, no special separation is expected between the messages.
        Parameters:
        selector - the message selector
      • getReceiver

        Receiver getReceiver()
        Returns the Receiver of this mailbox.
        Returns:
        the receiver
      • isEmpty

        boolean isEmpty()
        Returns true if this mailbox is empty.
        Returns: