Uses of Interface
org.springframework.messaging.simp.stomp.StompSession
Packages that use StompSession
Package
Description
Generic support for simple messaging protocols (like STOMP).
-
Uses of StompSession in org.springframework.messaging.simp.stomp
Subinterfaces of StompSession in org.springframework.messaging.simp.stompModifier and TypeInterfaceDescriptioninterfaceAStompSessionthat implementsTcpConnectionHandlerin order to send and receive messages.Classes in org.springframework.messaging.simp.stomp that implement StompSessionMethods in org.springframework.messaging.simp.stomp that return types with arguments of type StompSessionModifier and TypeMethodDescriptionorg.springframework.util.concurrent.ListenableFuture<StompSession>ReactorNettyTcpStompClient.connect(StompHeaders connectHeaders, StompSessionHandler handler) Deprecated, for removal: This API element is subject to removal in a future version.org.springframework.util.concurrent.ListenableFuture<StompSession>ReactorNettyTcpStompClient.connect(StompSessionHandler handler) Deprecated, for removal: This API element is subject to removal in a future version.as of 6.0, in favor ofReactorNettyTcpStompClient.connectAsync(StompSessionHandler)ReactorNettyTcpStompClient.connectAsync(StompHeaders connectHeaders, StompSessionHandler handler) An overloaded version ofReactorNettyTcpStompClient.connectAsync(StompSessionHandler)that accepts headers to use for the STOMP CONNECT frame.ReactorNettyTcpStompClient.connectAsync(StompSessionHandler handler) Connect and notify the givenStompSessionHandlerwhen connected on the STOMP level.ConnectionHandlingStompSession.getSession()Return a future that will complete when the session is ready for use.DefaultStompSession.getSession()default org.springframework.util.concurrent.ListenableFuture<StompSession>ConnectionHandlingStompSession.getSessionFuture()Deprecated, for removal: This API element is subject to removal in a future version.as of 6.0, in favor ofConnectionHandlingStompSession.getSession()Methods in org.springframework.messaging.simp.stomp with parameters of type StompSessionModifier and TypeMethodDescriptionvoidStompSessionHandler.afterConnected(StompSession session, StompHeaders connectedHeaders) Invoked when the session is ready to use, i.e.voidStompSessionHandlerAdapter.afterConnected(StompSession session, StompHeaders connectedHeaders) This implementation is empty.voidStompSessionHandler.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 applicationStompFrameHandler.voidStompSessionHandlerAdapter.handleException(StompSession session, StompCommand command, StompHeaders headers, byte[] payload, Throwable exception) This implementation is empty.voidStompSessionHandler.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.voidStompSessionHandlerAdapter.handleTransportError(StompSession session, Throwable exception) This implementation is empty.
ReactorNettyTcpStompClient.connectAsync(StompHeaders, StompSessionHandler)