Class WebSocketSubscribeListener

  • All Implemented Interfaces:
    java.util.EventListener, org.springframework.context.ApplicationListener<org.springframework.web.socket.messaging.SessionSubscribeEvent>

    @Component
    public class WebSocketSubscribeListener
    extends java.lang.Object
    implements org.springframework.context.ApplicationListener<org.springframework.web.socket.messaging.SessionSubscribeEvent>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static org.slf4j.Logger logger  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onApplicationEvent​(org.springframework.web.socket.messaging.SessionSubscribeEvent sessionSubscribeEvent)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        private static final org.slf4j.Logger logger
    • Constructor Detail

      • WebSocketSubscribeListener

        public WebSocketSubscribeListener()
    • Method Detail

      • onApplicationEvent

        public void onApplicationEvent​(org.springframework.web.socket.messaging.SessionSubscribeEvent sessionSubscribeEvent)
        Specified by:
        onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.web.socket.messaging.SessionSubscribeEvent>