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 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