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

Example usage for Java org.springframework.integration.ip.tcp.connection AbstractClientConnectionFactory 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 AbstractClientConnectionFactory.

The text is from its open source code.

Subclass

org.springframework.integration.ip.tcp.connection.AbstractClientConnectionFactory has subclasses.
Click this link to see all its subclasses.

Constructor

AbstractClientConnectionFactory(String host, int port)
Constructs a factory that will established 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.
booleanisActive()
booleanisRunning()
booleanisSingleUse()
voidregisterListener(TcpListener listenerToRegister)
Registers a TcpListener to receive messages after the payload has been converted from the input data.
voidregisterSender(TcpSender senderToRegister)
Registers a TcpSender; for server sockets, used to provide connection information so a sender can be used to reply to incoming messages.
voidsetApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
voidsetBeanName(String beanName)
voidsetDeserializer(Deserializer deserializer)
voidsetSerializer(Serializer serializer)
voidsetSingleUse(boolean singleUse)
If true, sockets created by this factory will be used once.
voidsetSoTimeout(int soTimeout)
voidstart()
voidstop()
Stops the server.