public abstract class SpawnedProcess extends Object implements GenericProcess
| Modifier and Type | Class and Description |
|---|---|
static class |
SpawnedProcess.SpawnSyncResult |
| Modifier and Type | Field and Description |
|---|---|
protected static ProcessWrap.ProcessImpl |
parent |
static String |
STDIO_FD |
static String |
STDIO_IGNORE |
static String |
STDIO_PIPE |
| Modifier | Constructor and Description |
|---|---|
protected |
SpawnedProcess(ProcessWrap.ProcessImpl parent) |
| Modifier and Type | Method and Description |
|---|---|
protected org.mozilla.javascript.Scriptable |
createStreamHandle(org.mozilla.javascript.Context cx,
AbstractHandle handle) |
protected int |
getStdioFD(org.mozilla.javascript.Scriptable s) |
abstract int |
spawn(org.mozilla.javascript.Context cx) |
abstract SpawnedProcess.SpawnSyncResult |
spawnSync(org.mozilla.javascript.Context cx,
long timeout,
TimeUnit unit) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitterminatepublic static final String STDIO_PIPE
public static final String STDIO_FD
public static final String STDIO_IGNORE
protected static ProcessWrap.ProcessImpl parent
protected SpawnedProcess(ProcessWrap.ProcessImpl parent)
public abstract int spawn(org.mozilla.javascript.Context cx)
public abstract SpawnedProcess.SpawnSyncResult spawnSync(org.mozilla.javascript.Context cx, long timeout, TimeUnit unit)
protected org.mozilla.javascript.Scriptable createStreamHandle(org.mozilla.javascript.Context cx,
AbstractHandle handle)
protected int getStdioFD(org.mozilla.javascript.Scriptable s)
Copyright © 2015 Apigee Corporation. All Rights Reserved.