Interface WebswingMessageListener<T>
-
- Type Parameters:
T- Type of messages
public interface WebswingMessageListener<T>Interface implemented by Swing application to listen to messages of defined type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonMessage(WebswingMessage<T> message)This method is invoked when a message of compatible type is published to the topic
-
-
-
Method Detail
-
onMessage
void onMessage(WebswingMessage<T> message)
This method is invoked when a message of compatible type is published to the topic- Parameters:
message- wrapped message object
-
-