public class ConnectionRetrier extends Object
Constructor and Description |
---|
ConnectionRetrier(HostDesc host,
String label,
NetworkManager networkManager,
MessageHandlerFactory actualFactory,
Trace appTrace)
Attempt to initiate a connection to another host, with retry on failure.
|
public ConnectionRetrier(HostDesc host, String label, NetworkManager networkManager, MessageHandlerFactory actualFactory, Trace appTrace)
host
- Description of host to connect to.label
- String describing remote connection endpoint, for
diagnostic outputnetworkManager
- Network manager to actually make the connection.actualFactory
- Application-provided message handler factory for
use once connection is established.appTrace
- Application trace object for logging.Copyright © 2017. All rights reserved.