Example usage for Java org.springframework.integration.ip.tcp.connection AbstractClientConnectionFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
AbstractClientConnectionFactory(String host, int port) Constructs a factory that will established connections to the host and port. |
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. |
boolean | isActive() |
boolean | isRunning() |
boolean | isSingleUse() |
void | registerListener(TcpListener listenerToRegister) Registers a TcpListener to receive messages after the payload has been converted from the input data. |
void | registerSender(TcpSender senderToRegister) Registers a TcpSender; for server sockets, used to provide connection information so a sender can be used to reply to incoming messages. |
void | setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) |
void | setBeanName(String beanName) |
void | setDeserializer(Deserializer> deserializer) |
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() Stops the server. |