Package org.jppf.server.peer
Class JPPFPeerInitializer
java.lang.Object
org.jppf.server.peer.JPPFPeerInitializer
- All Implemented Interfaces:
Runnable
Instances of this class are used to initialize the connections to a peer driver
in a separate thread.
- Author:
- Laurent Cohen, Martin JANDA
-
Constructor Summary
ConstructorsConstructorDescriptionJPPFPeerInitializer(JPPFDriver driver, String peerName, org.jppf.comm.discovery.JPPFConnectionInformation connectionInfo, boolean secure) Initialize this peer initializer from a specified peerName.JPPFPeerInitializer(JPPFDriver driver, String peerName, org.jppf.comm.discovery.JPPFConnectionInformation connectionInfo, boolean secure, boolean fromDiscovery) Initialize this peer initializer from a specified peerName. -
Method Summary
-
Constructor Details
-
JPPFPeerInitializer
public JPPFPeerInitializer(JPPFDriver driver, String peerName, org.jppf.comm.discovery.JPPFConnectionInformation connectionInfo, boolean secure) Initialize this peer initializer from a specified peerName.- Parameters:
driver- reference to the JPPF driver.peerName- the name of the peer in the configuration file.connectionInfo- peer connection information.secure- specifies whether the connection should be established over SSL/TLS.
-
JPPFPeerInitializer
public JPPFPeerInitializer(JPPFDriver driver, String peerName, org.jppf.comm.discovery.JPPFConnectionInformation connectionInfo, boolean secure, boolean fromDiscovery) Initialize this peer initializer from a specified peerName.- Parameters:
driver- reference to the JPPF driver.peerName- the name of the peer in the configuration file.connectionInfo- peer connection information.secure- specifies whether the connection should be established over SSL/TLS.fromDiscovery- determines whether the connection info was obtained from the auto-discovery mechanism.
-
-
Method Details