Example usage for Java org.springframework.integration.ip.tcp.connection TcpNioClientConnectionFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
TcpNioClientConnectionFactory(String host, int port) Creates a TcpNioClientConnectionFactory for connections to the host and port. |
void | afterPropertiesSet() |
TcpConnectionSupport | getConnection() Obtains a connection - if #setSingleUse(boolean) was called with true, a new connection is returned; otherwise a single connection is reused for all requests while the connection remains open. |
Map | getConnections() |
void | processNioSelections(int selectionCount, final Selector selector, @Nullable ServerSocketChannel server, Map Times out any expired connections then, if selectionCount > 0 , processes the selected keys. |
void | setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) |
void | setDeserializer(Deserializer> deserializer) |
void | setNioHarvestInterval(int nioHarvestInterval) How often we clean up closed NIO connections if soTimeout is 0. |
void | setSerializer(Serializer> serializer) |
void | setSingleUse(boolean singleUse) If true, sockets created by this factory will be used once. |
void | setSoTimeout(int soTimeout) |
void | start() |
void | stop() |