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
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

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–2010 Václav Pech. All Rights Reserved.