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