public abstract class SpawnedProcess extends java.lang.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 java.lang.String |
STDIO_FD |
static java.lang.String |
STDIO_IGNORE |
static java.lang.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,
java.util.concurrent.TimeUnit unit) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitterminatepublic static final java.lang.String STDIO_PIPE
public static final java.lang.String STDIO_FD
public static final java.lang.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, java.util.concurrent.TimeUnit unit)
protected org.mozilla.javascript.Scriptable createStreamHandle(org.mozilla.javascript.Context cx,
AbstractHandle handle)
protected int getStdioFD(org.mozilla.javascript.Scriptable s)
Copyright © 2018 Apigee Corporation. All Rights Reserved.