Class EventBusStompSessionHandler

java.lang.Object
org.springframework.messaging.simp.stomp.StompSessionHandlerAdapter
gov.llnl.gnem.apps.coda.common.gui.data.client.EventBusStompSessionHandler
All Implemented Interfaces:
org.springframework.messaging.simp.stomp.StompFrameHandler, org.springframework.messaging.simp.stomp.StompSessionHandler

@Component public class EventBusStompSessionHandler extends org.springframework.messaging.simp.stomp.StompSessionHandlerAdapter
  • Constructor Summary

    Constructors
    Constructor
    Description
    EventBusStompSessionHandler(com.google.common.eventbus.EventBus bus)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterConnected(org.springframework.messaging.simp.stomp.StompSession session, org.springframework.messaging.simp.stomp.StompHeaders connectedHeaders)
     
    getPayloadType(org.springframework.messaging.simp.stomp.StompHeaders headers)
     
    void
    handleException(org.springframework.messaging.simp.stomp.StompSession session, org.springframework.messaging.simp.stomp.StompCommand command, org.springframework.messaging.simp.stomp.StompHeaders headers, byte[] payload, Throwable exception)
     
    void
    handleFrame(org.springframework.messaging.simp.stomp.StompHeaders headers, Object payload)
     
    void
    handleTransportError(org.springframework.messaging.simp.stomp.StompSession session, Throwable exception)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EventBusStompSessionHandler

      @Autowired public EventBusStompSessionHandler(com.google.common.eventbus.EventBus bus)
  • Method Details

    • getPayloadType

      public Type getPayloadType(org.springframework.messaging.simp.stomp.StompHeaders headers)
      Specified by:
      getPayloadType in interface org.springframework.messaging.simp.stomp.StompFrameHandler
      Overrides:
      getPayloadType in class org.springframework.messaging.simp.stomp.StompSessionHandlerAdapter
    • handleFrame

      public void handleFrame(org.springframework.messaging.simp.stomp.StompHeaders headers, Object payload)
      Specified by:
      handleFrame in interface org.springframework.messaging.simp.stomp.StompFrameHandler
      Overrides:
      handleFrame in class org.springframework.messaging.simp.stomp.StompSessionHandlerAdapter
    • afterConnected

      public void afterConnected(org.springframework.messaging.simp.stomp.StompSession session, org.springframework.messaging.simp.stomp.StompHeaders connectedHeaders)
      Specified by:
      afterConnected in interface org.springframework.messaging.simp.stomp.StompSessionHandler
      Overrides:
      afterConnected in class org.springframework.messaging.simp.stomp.StompSessionHandlerAdapter
    • handleException

      public void handleException(org.springframework.messaging.simp.stomp.StompSession session, org.springframework.messaging.simp.stomp.StompCommand command, org.springframework.messaging.simp.stomp.StompHeaders headers, byte[] payload, Throwable exception)
      Specified by:
      handleException in interface org.springframework.messaging.simp.stomp.StompSessionHandler
      Overrides:
      handleException in class org.springframework.messaging.simp.stomp.StompSessionHandlerAdapter
    • handleTransportError

      public void handleTransportError(org.springframework.messaging.simp.stomp.StompSession session, Throwable exception)
      Specified by:
      handleTransportError in interface org.springframework.messaging.simp.stomp.StompSessionHandler
      Overrides:
      handleTransportError in class org.springframework.messaging.simp.stomp.StompSessionHandlerAdapter