Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected org.graphstream.stream.thread.ThreadProxyPipe |
currentStream
The current pipe commands are being written to.
|
protected String |
sourceId
the gephi source ID
|
protected org.graphstream.stream.sync.SourceTime |
sourceTime |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
JSONReceiver(String host,
int port,
String workspace) |
JSONReceiver(String host,
int port,
String workspace,
boolean debug) |
| Modifier and Type | Method and Description |
|---|---|
org.graphstream.stream.thread.ThreadProxyPipe |
getStream() |
protected void |
init()
connect to Gephi
|
void |
run()
process the stream received from Gephi
|
void |
setDebug(boolean debug)
set debug mode
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldprotected String sourceId
protected org.graphstream.stream.sync.SourceTime sourceTime
protected org.graphstream.stream.thread.ThreadProxyPipe currentStream
public JSONReceiver(String host, int port, String workspace)
host - , the host of the Gephi serverport - , the port of the Gephi serverworkspace - , the workspace name of the Gephi serverCopyright © 2015. All rights reserved.