org.codehaus.gpars

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

 
Constructor Summary
RemoteNodeDiscoveryListener.RemoteNodeDiscoveryListenerClosure(groovy.lang.Closure closure)

 
Method Summary
void onConnect(RemoteNode node)

void onDisconnect(RemoteNode node)

 
Methods inherited from class RemoteNodeDiscoveryListener
onConnect, onDisconnect
 

Field Detail

closure

private final groovy.lang.Closure closure


 
Constructor Detail

RemoteNodeDiscoveryListener.RemoteNodeDiscoveryListenerClosure

public RemoteNodeDiscoveryListener.RemoteNodeDiscoveryListenerClosure(groovy.lang.Closure closure)


 
Method Detail

onConnect

@Override
public void onConnect(RemoteNode node)


onDisconnect

@Override
public void onDisconnect(RemoteNode node)


 

Copyright © 2008–2012 Václav Pech. All Rights Reserved.