Package | Description |
---|---|
org.springframework.messaging.simp.stomp |
Generic support for simple messaging protocols (like STOMP).
|
Modifier and Type | Interface and Description |
---|---|
interface |
ConnectionHandlingStompSession
A
StompSession that implements
TcpConnectionHandler in order to send and receive messages. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultStompSession
Default implementation of
ConnectionHandlingStompSession . |
Modifier and Type | Method and Description |
---|---|
org.springframework.util.concurrent.ListenableFuture<StompSession> |
ReactorNettyTcpStompClient.connect(StompHeaders connectHeaders,
StompSessionHandler handler)
An overloaded version of
ReactorNettyTcpStompClient.connect(StompSessionHandler) that
accepts headers to use for the STOMP CONNECT frame. |
org.springframework.util.concurrent.ListenableFuture<StompSession> |
ReactorNettyTcpStompClient.connect(StompSessionHandler handler)
Connect and notify the given
StompSessionHandler when connected
on the STOMP level. |
org.springframework.util.concurrent.ListenableFuture<StompSession> |
ConnectionHandlingStompSession.getSessionFuture()
Return a future that will complete when the session is ready for use.
|
org.springframework.util.concurrent.ListenableFuture<StompSession> |
DefaultStompSession.getSessionFuture() |
Modifier and Type | Method and Description |
---|---|
void |
StompSessionHandlerAdapter.afterConnected(StompSession session,
StompHeaders connectedHeaders)
This implementation is empty.
|
void |
StompSessionHandler.afterConnected(StompSession session,
StompHeaders connectedHeaders)
Invoked when the session is ready to use, i.e.
|
void |
StompSessionHandlerAdapter.handleException(StompSession session,
StompCommand command,
StompHeaders headers,
byte[] payload,
Throwable exception)
This implementation is empty.
|
void |
StompSessionHandler.handleException(StompSession session,
StompCommand command,
StompHeaders headers,
byte[] payload,
Throwable exception)
Handle any exception arising while processing a STOMP frame such as a
failure to convert the payload or an unhandled exception in the
application
StompFrameHandler . |
void |
StompSessionHandlerAdapter.handleTransportError(StompSession session,
Throwable exception)
This implementation is empty.
|
void |
StompSessionHandler.handleTransportError(StompSession session,
Throwable exception)
Handle a low level transport error which could be an I/O error or a
failure to encode or decode a STOMP message.
|