クラスの使用
org.springframework.integration.ip.tcp.connection.TcpNioConnection
TcpNioConnection を使用するパッケージ
パッケージ
説明
TCP 接続に関連するすべてのもの - クライアントおよびサーバーファクトリ ; リスナーと送信者のインターフェース。
org.springframework.integration.ip.tcp.connection 内の TcpNioConnection 使用
修飾子と型メソッド説明DefaultTcpNioConnectionSupport.createNewConnection(SocketChannelSE socketChannel, boolean server, boolean lookupHost, @Nullable ApplicationEventPublisher applicationEventPublisher, @Nullable StringSE connectionFactoryName) DefaultTcpNioSSLConnectionSupport.createNewConnection(SocketChannelSE socketChannel, boolean server, boolean lookupHost, @Nullable ApplicationEventPublisher applicationEventPublisher, @Nullable StringSE connectionFactoryName) TcpNioSSLConnectionを作成します。TcpNioConnectionSupport.createNewConnection(SocketChannelSE socketChannel, boolean server, boolean lookupHost, @Nullable ApplicationEventPublisher applicationEventPublisher, @Nullable StringSE connectionFactoryName) SocketChannelSE をラップする新しいTcpNioConnectionオブジェクトを作成します。型 TcpNioConnection の引数を持つ型を返す org.springframework.integration.ip.tcp.connection のメソッド修飾子と型メソッド説明protected MapSE<SocketChannelSE, TcpNioConnection> TcpNioClientConnectionFactory.getConnections()protected MapSE<SocketChannelSE, TcpNioConnection> TcpNioServerConnectionFactory.getConnections()型 TcpNioConnection の型引数を持つ org.springframework.integration.ip.tcp.connection のメソッドパラメーター修飾子と型メソッド説明protected voidAbstractConnectionFactory.processNioSelections(int selectionCount, SelectorSE selector, @Nullable ServerSocketChannelSE server, MapSE<SocketChannelSE, TcpNioConnection> connectionMap) 期限切れの接続をタイムアウトし、selectionCount > 0の場合は、選択された鍵を処理します。