Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public interface MutableMessageChannel<R,M> extends MessageChannel<R,M> {
- /**
- * Adds a recipient to this MessageChannel
- *
- * @param recipient The recipient to add
- *
- * @return If the list of recipients changed as a result of this call
- */
- boolean addRecipient(R recipient);
- /**
- * Clears the list of recipients
- */
- void clearRecipients();
- /**
- * Removes a recipient to this MessageChannel
- *
- * @param recipient The recipient to remove
- *
- * @return If the list of recipients changed as a result of this call
- */
- boolean removeRecipient(R recipient);
- }
Advertisement
Add Comment
Please, Sign In to add comment