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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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)
-
Constructor Details
-
EventBusStompSessionHandler
@Autowired public EventBusStompSessionHandler(com.google.common.eventbus.EventBus bus)
-
-
Method Details
-
getPayloadType
- Specified by:
getPayloadType
in interfaceorg.springframework.messaging.simp.stomp.StompFrameHandler
- Overrides:
getPayloadType
in classorg.springframework.messaging.simp.stomp.StompSessionHandlerAdapter
-
handleFrame
public void handleFrame(org.springframework.messaging.simp.stomp.StompHeaders headers, Object payload) - Specified by:
handleFrame
in interfaceorg.springframework.messaging.simp.stomp.StompFrameHandler
- Overrides:
handleFrame
in classorg.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 interfaceorg.springframework.messaging.simp.stomp.StompSessionHandler
- Overrides:
afterConnected
in classorg.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 interfaceorg.springframework.messaging.simp.stomp.StompSessionHandler
- Overrides:
handleException
in classorg.springframework.messaging.simp.stomp.StompSessionHandlerAdapter
-
handleTransportError
public void handleTransportError(org.springframework.messaging.simp.stomp.StompSession session, Throwable exception) - Specified by:
handleTransportError
in interfaceorg.springframework.messaging.simp.stomp.StompSessionHandler
- Overrides:
handleTransportError
in classorg.springframework.messaging.simp.stomp.StompSessionHandlerAdapter
-