groovyx.gpars.remote
[Java] Class RemoteNodeDiscoveryListener.RemoteNodeDiscoveryListenerClosure
java.lang.Object
groovyx.gpars.remote.RemoteNodeDiscoveryListener
groovyx.gpars.remote.RemoteNodeDiscoveryListener.RemoteNodeDiscoveryListenerClosure
public static class RemoteNodeDiscoveryListener.RemoteNodeDiscoveryListenerClosure
extends RemoteNodeDiscoveryListener
Discovery listener backed by closure with two params
- node
- "connected" | "disconnected"
- Authors:
- Alex Tkachman
Field Summary |
private groovy.lang.Closure |
closure
|
closure
private final groovy.lang.Closure closure
-
RemoteNodeDiscoveryListener.RemoteNodeDiscoveryListenerClosure
public RemoteNodeDiscoveryListener.RemoteNodeDiscoveryListenerClosure(groovy.lang.Closure closure)
-
onConnect
@Override
public void onConnect(RemoteNode node)
-
onDisconnect
@Override
public void onDisconnect(RemoteNode node)
-
Copyright © 2008–2012 Václav Pech. All Rights Reserved.