Class DefaultSocketConnector

    • Constructor Detail

      • DefaultSocketConnector

        public DefaultSocketConnector​(InetAddress address,
                                      int port,
                                      long initialDelay,
                                      long retryDelay)
        Deprecated.
        Constructs a new connector.
        Parameters:
        address - address of remote listener
        port - port of remote listener
        initialDelay - delay before initial connection attempt
        retryDelay - delay after failed connection attempt
      • DefaultSocketConnector

        public DefaultSocketConnector​(InetAddress address,
                                      int port,
                                      DelayStrategy delayStrategy)
        Deprecated.
        Constructs a new connector.
        Parameters:
        address - address of remote listener
        port - port of remote listener
        delayStrategy - strategy for choosing the delay to impose before each connection attempt