public class Agent
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
addWatch(VncKeyword name,
VncFunction fn) |
static boolean |
await(java.util.List<Agent> agents,
long timeoutMillis) |
static void |
awaitTermination(long timeoutMillis) |
VncVal |
deref() |
java.lang.RuntimeException |
getError() |
VncKeyword |
getErrorMode() |
long |
getID() |
static boolean |
isShutdown() |
static boolean |
isTerminated() |
void |
removeWatch(VncKeyword name) |
void |
restart(VncVal state) |
void |
send_off(VncFunction fn,
VncList args) |
void |
send(VncFunction fn,
VncList args) |
void |
setErrorHandler(VncFunction errorHandler) |
static void |
shutdown() |
java.lang.String |
toString() |
java.lang.String |
toString(boolean print_readably) |
public long getID()
public VncVal deref()
public java.lang.RuntimeException getError()
public void send(VncFunction fn, VncList args)
public void send_off(VncFunction fn, VncList args)
public void restart(VncVal state)
public void addWatch(VncKeyword name, VncFunction fn)
public void removeWatch(VncKeyword name)
public void setErrorHandler(VncFunction errorHandler)
public VncKeyword getErrorMode()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(boolean print_readably)
public static boolean await(java.util.List<Agent> agents, long timeoutMillis)
public static void shutdown()
public static boolean isShutdown()
public static void awaitTermination(long timeoutMillis)
public static boolean isTerminated()