Interface ConnectionHandlingStompSession

All Superinterfaces:
StompSession, StompTcpConnectionHandler<byte[]>, TcpConnectionHandler<byte[]>
All Known Implementing Classes:
DefaultStompSession

public interface ConnectionHandlingStompSession extends StompSession, StompTcpConnectionHandler<byte[]>
A StompSession that implements TcpConnectionHandler in order to send and receive messages.

A ConnectionHandlingStompSession can be used with any TCP or WebSocket library that is adapted to the TcpConnectionHandler contract.

Since:
4.2
Author:
Rossen Stoyanchev
  • Method Details

    • getSessionFuture

      @Deprecated(since="6.0") default org.springframework.util.concurrent.ListenableFuture<StompSession> getSessionFuture()
      Deprecated.
      as of 6.0, in favor of getSession()
      Return a future that will complete when the session is ready for use.
    • getSession

      Return a future that will complete when the session is ready for use.
      Since:
      6.0