接口 ConnectionHandlingStompSession
- 所有超级接口:
StompSession
,TcpConnectionHandler<byte[]>
- 所有已知实现类:
DefaultStompSession
public interface ConnectionHandlingStompSession extends StompSession, TcpConnectionHandler<byte[]>
AStompSession
that implementsTcpConnectionHandler
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.- 从以下版本开始:
- 4.2
- 作者:
- Rossen Stoyanchev
嵌套类概要
从接口继承的嵌套类/接口 org.springframework.messaging.simp.stomp.StompSession
StompSession.Receiptable, StompSession.Subscription
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 ListenableFuture<StompSession>
getSessionFuture()
Return a future that will complete when the session is ready for use.从接口继承的方法 org.springframework.messaging.simp.stomp.StompSession
acknowledge, disconnect, getSessionId, isConnected, send, send, setAutoReceipt, subscribe, subscribe
从接口继承的方法 org.springframework.messaging.tcp.TcpConnectionHandler
afterConnected, afterConnectFailure, afterConnectionClosed, handleFailure, handleMessage
方法详细资料
getSessionFuture
ListenableFuture<StompSession> getSessionFuture()
Return a future that will complete when the session is ready for use.