Package com.qfs.snl.messages
Interface IMessageSubscriber
- All Known Implementing Classes:
SocketSubscriber
public interface IMessageSubscriber
A component listening to events on messages.
- Author:
- ActiveViam
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onDeletedMessage
(IMessage message) Notifies that a message has been deleted.void
onNewMessage
(IMessage message) A new Message is provided to this subscriber.void
onReadMessage
(IMessage message) Notifies that a message has been read.
-
Method Details
-
onNewMessage
A new Message is provided to this subscriber.- Parameters:
message
- the new message
-
onReadMessage
Notifies that a message has been read.- Parameters:
message
- the read message
-
onDeletedMessage
Notifies that a message has been deleted.- Parameters:
message
- the deleted message
-