Class ClientModeConnectionManager
java.lang.Object
org.springframework.integration.ip.tcp.connection.ClientModeConnectionManager
- All Implemented Interfaces:
Runnable
Intended to be run on a schedule, simply gets the connection
from a client connection factory each time it is run.
If no connection exists (or it has been closed), the
connection factory will create a new one (if possible).
- Since:
- 2.1
- Author:
- Gary Russell, Artem Bilan, Christian Tzolov
-
Constructor Summary
ConstructorsConstructorDescriptionClientModeConnectionManager
(AbstractConnectionFactory clientConnectionFactory) -
Method Summary
-
Constructor Details
-
ClientModeConnectionManager
- Parameters:
clientConnectionFactory
- The connection factory.
-
-
Method Details
-
run
-
isConnected
public boolean isConnected()
-