Package org.jppf.server.peer
Interface PeerDiscoveryThread.ConnectionHandler
- Enclosing class:
- PeerDiscoveryThread
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Defines a callback for objects wishing to be notified of discovery events.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonNewConnection(String name, org.jppf.comm.discovery.JPPFConnectionInformation info) Called when a new connection is discovered.
-
Method Details
-
onNewConnection
Called when a new connection is discovered.- Parameters:
name- the name assigned to the connection.info- the information required to connect to the driver.
-