|
org.codehaus.gpars | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovyx.gpars.remote.LocalNode
@SuppressWarnings({"MagicNumber"}) public class LocalNode extends java.lang.Object
Representation of local node
Field Summary | |
---|---|
private java.util.UUID |
id
|
private java.util.List |
listeners
|
private LocalHost |
localHost
|
private Actor |
mainActor
|
private java.util.concurrent.ThreadPoolExecutor |
scheduler
|
Constructor Summary | |
LocalNode()
|
|
LocalNode(java.lang.Runnable runnable)
|
|
LocalNode(LocalHost provider)
|
|
LocalNode(LocalHost provider, java.lang.Runnable runnable)
|
Method Summary | |
---|---|
void
|
addDiscoveryListener(RemoteNodeDiscoveryListener listener)
|
void
|
addDiscoveryListener(groovy.lang.Closure listener)
|
void
|
connect()
|
void
|
connect(LocalHost provider)
|
void
|
disconnect()
|
java.util.UUID
|
getId()
|
SerialHandles
|
getLocalHost()
|
Actor
|
getMainActor()
|
java.util.concurrent.Executor
|
getScheduler()
|
void
|
onConnect(RemoteNode node)
|
void
|
onDisconnect(RemoteNode node)
|
void
|
removeDiscoveryListener(RemoteNodeDiscoveryListener listener)
|
java.lang.String
|
toString()
|
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 |
---|
private final java.util.UUID id
private final java.util.List listeners
private LocalHost localHost
private final Actor mainActor
private final java.util.concurrent.ThreadPoolExecutor scheduler
Constructor Detail |
---|
public LocalNode()
public LocalNode(java.lang.Runnable runnable)
public LocalNode(LocalHost provider)
public LocalNode(LocalHost provider, java.lang.Runnable runnable)
Method Detail |
---|
public void addDiscoveryListener(RemoteNodeDiscoveryListener listener)
public void addDiscoveryListener(groovy.lang.Closure listener)
public void connect()
public void connect(LocalHost provider)
public void disconnect()
public java.util.UUID getId()
public SerialHandles getLocalHost()
public Actor getMainActor()
public java.util.concurrent.Executor getScheduler()
public void onConnect(RemoteNode node)
public void onDisconnect(RemoteNode node)
public void removeDiscoveryListener(RemoteNodeDiscoveryListener listener)
@Override public java.lang.String toString()
Copyright © 2008–2010 Václav Pech. All Rights Reserved.