Class ClientModeConnectionManager

java.lang.Object
org.springframework.integration.ip.tcp.connection.ClientModeConnectionManager
All Implemented Interfaces:
Runnable

public class ClientModeConnectionManager extends Object implements 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 Details

    • ClientModeConnectionManager

      public ClientModeConnectionManager(AbstractConnectionFactory clientConnectionFactory)
      Parameters:
      clientConnectionFactory - The connection factory.
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • isConnected

      public boolean isConnected()