Java org.springframework.integration.ip.tcp.connection TcpNetClientConnectionFactory fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.integration.ip.tcp.connection TcpNetClientConnectionFactory fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.integration.ip.tcp.connection TcpNetClientConnectionFactory.

The text is from its open source code.

Constructor

TcpNetClientConnectionFactory(String host, int port)
Creates a TcpNetClientConnectionFactory for connections to the host and port.

Method

TcpConnectionSupportgetConnection()
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.
ListgetOpenConnectionIds()
Returns a list of (currently) open TcpConnection connection ids; allows, for example, broadcast operations to all open connections.
voidregisterListener(TcpListener listenerToRegister)
Registers a TcpListener to receive messages after the payload has been converted from the input data.
voidsetApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
voidsetBeanName(String beanName)
voidstart()