パッケージ | 説明 |
---|---|
org.springframework.messaging.simp.stomp | シンプルなメッセージングプロトコル(STOMP など)の一般的なサポート。 |
org.springframework.messaging.tcp | TcpOperations を介して TCP 接続を確立し、TcpConnectionHandler を介してメッセージを処理し、TcpConnection を介してメッセージを送信するための抽象化と実装クラスが含まれています。 |
org.springframework.messaging.tcp.reactor | Reactor に基づく TCP メッセージングのサポートが含まれています。 |
修飾子と型 | インターフェースと説明 |
---|---|
interface | ConnectionHandlingStompSession メッセージを送受信するために TcpConnectionHandler を実装する StompSession 。 |
interface | StompTcpConnectionHandler<P> STOMP 接続で使用するための TcpConnectionHandler で、接続に関する詳細情報を公開します。 |
修飾子と型 | クラスと説明 |
---|---|
class | DefaultStompSession ConnectionHandlingStompSession のデフォルト実装。 |
修飾子と型 | メソッドと説明 |
---|---|
ListenableFuture<VoidSE> | TcpOperations.connect(TcpConnectionHandler<P> connectionHandler) 新しい接続を開きます。 |
ListenableFuture<VoidSE> | TcpOperations.connect(TcpConnectionHandler<P> connectionHandler, ReconnectStrategy reconnectStrategy) 新しい接続を開き、接続が失敗した場合の再接続方法を示します。 |
修飾子と型 | メソッドと説明 |
---|---|
ListenableFuture<VoidSE> | ReactorNettyTcpClient.connect(TcpConnectionHandler<P> handler) |
ListenableFuture<VoidSE> | ReactorNettyTcpClient.connect(TcpConnectionHandler<P> handler, ReconnectStrategy strategy) |
protected reactor.netty.tcp.TcpClient | ReactorNettyTcpClient.extendTcpClient(reactor.netty.tcp.TcpClient tcpClient, TcpConnectionHandler<P> handler) 特定の TcpConnectionHandler の TcpClient を初期化する機会を提供します。これにより、さらに情報を公開する StompTcpConnectionHandler などのサブインターフェースが実装される場合があります。 |