Package org.jppf.discovery
Interface DriverDiscoveryListener<E extends DriverConnectionInfo>
- Type Parameters:
E- the type of notifications received by this listener.
public interface DriverDiscoveryListener<E extends DriverConnectionInfo>
Listener interface to receive notifications of new discovered driver connection pools.
- Author:
- Laurent Cohen
-
Method Summary
Modifier and TypeMethodDescriptionbooleanonNewConnection(E info) Called when a new driver connection pool is discovered.
-
Method Details
-
onNewConnection
Called when a new driver connection pool is discovered.- Parameters:
info- encapsulates the connection information about a remote driver.- Returns:
trueif the new connection pool was accepted,falseif an identical one was already submitted or this listener is no longer accepting notifications.
-