A B C D E F G H I J K L M N O P R S T U V W Z _ 

A

AbstractCipherImpl - Class in io.apigee.trireme.core.modules.crypto
This class holds common methods used by both Cipher and Decipher.
AbstractCipherImpl() - Constructor for class io.apigee.trireme.core.modules.crypto.AbstractCipherImpl
 
AbstractDH - Class in io.apigee.trireme.core.modules.crypto
Abstract class for DiffieHellman and DiffieHellmanGroup.
AbstractDH() - Constructor for class io.apigee.trireme.core.modules.crypto.AbstractDH
 
AbstractFilesystem - Interface in io.apigee.trireme.core.modules
 
AbstractIdObject<T extends AbstractIdObject> - Class in io.apigee.trireme.core.internal
This class makes it easier to use Rhino's "IdFunctionObject" by maintaining a map between prototype method names and property names, so all the implementor has to do is implement them.
AbstractIdObject(IdPropertyMap) - Constructor for class io.apigee.trireme.core.internal.AbstractIdObject
 
AbstractModuleRegistry - Class in io.apigee.trireme.core.internal
This tracks all the built-in modules that are available to us.
AbstractModuleRegistry() - Constructor for class io.apigee.trireme.core.internal.AbstractModuleRegistry
 
AbstractModuleRegistry.ModuleType - Enum in io.apigee.trireme.core.internal
 
AbstractProcess - Class in io.apigee.trireme.core.internal
Different Node implementations have different implementations of the basic "process" object.
AbstractProcess(IdPropertyMap) - Constructor for class io.apigee.trireme.core.internal.AbstractProcess
 
AdapterHandleDelegate - Class in io.apigee.trireme.net.internal
This class mediates between the TCP handle that the "net" module needs in order for a TCP socket to work, and the handle that the adapter will give us if it supports WebSockets.
AdapterHandleDelegate(HttpRequestAdapter, HttpResponseAdapter) - Constructor for class io.apigee.trireme.net.internal.AdapterHandleDelegate
 
addCACert(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
Add the certificate of a trusted CA from a PEM file.
addCRL(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
Add a CRL to whatever trust store we are using.
addEnvironment(String, String) - Method in class io.apigee.trireme.core.NodeScript
Add an environment variable to the script without removing anything that already exists.
addHeader(String, String) - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
Add a header to the message -- may be called multiple times for same "name"
addMembership(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
addMethod(String, int, int) - Method in class io.apigee.trireme.core.internal.IdPropertyMap
 
addNativeModule(NodeModule) - Method in class io.apigee.trireme.core.internal.AbstractModuleRegistry
 
addProcess(int, GenericProcess) - Method in class io.apigee.trireme.core.internal.ProcessManager
 
addProperty(String, int, int) - Method in class io.apigee.trireme.core.internal.IdPropertyMap
 
addRootCerts(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
Set the trust store to the one that includes the built-in root CA certs on the Java platform.
allowSubprocess(List<String>) - Method in interface io.apigee.trireme.core.SubprocessPolicy
Return true if the process should be allowed to execute the following sub process.
anonymousCall(int, Context, Scriptable, Object, Object[]) - Method in class io.apigee.trireme.core.internal.AbstractIdObject
Subclasses may override this method to implement a function that does not necessarily depend on the value of "this" in the current scope.
anonymousCall(int, Context, Scriptable, Object, Object[]) - Method in class io.apigee.trireme.core.modules.Buffer.BufferImpl
 
ArgUtils - Class in io.apigee.trireme.core
This is a set of handy functions for parsing JavaScript arguments in JavaCode.
ArgUtils() - Constructor for class io.apigee.trireme.core.ArgUtils
 
autoPadding - Variable in class io.apigee.trireme.core.modules.crypto.AbstractCipherImpl
 
awaitInitialization() - Method in class io.apigee.trireme.core.internal.ScriptRunner
We use this when spawning child scripts to avoid sending them messages before they are ready.

B

bind(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
bind(String, int) - Method in class io.apigee.trireme.net.internal.AdapterHandleDelegate
 
bind(String, int) - Method in class io.apigee.trireme.net.internal.UpgradedSocketDelegate
 
bind6(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
booleanArg(Object[], int) - Static method in class io.apigee.trireme.core.ArgUtils
Return the argument at "pos" as a boolean, or throw an exception if the argument list is not long enough.
booleanArg(Object[], int, boolean) - Static method in class io.apigee.trireme.core.ArgUtils
Return the argument at "pos" as a boolean, or return "def" if the argument list is not long enough.
Buffer - Class in io.apigee.trireme.core.modules
 
Buffer() - Constructor for class io.apigee.trireme.core.modules.Buffer
 
Buffer.BufferImpl - Class in io.apigee.trireme.core.modules
Implementation of the actual "buffer" class.
Buffer.BufferImpl() - Constructor for class io.apigee.trireme.core.modules.Buffer.BufferImpl
 
bufferToString(ByteBuffer, Charset) - Static method in class io.apigee.trireme.core.Utils
Using a CharsetDecoder, translate the ByteBuffer into a stream, updating the buffer's position as we go.
bufferToString(ByteBuffer[], Charset) - Static method in class io.apigee.trireme.core.Utils
Like bufferToString, but read multiple buffers.
bufFromInt(BigInteger, Context) - Method in class io.apigee.trireme.core.modules.crypto.AbstractDH
 

C

CACHE_KEY_HASH - Static variable in class io.apigee.trireme.core.modules.Evals
 
cacheInternalModule(String, Object) - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
cacheModule(String, NativeModule.ModuleImpl) - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
call() - Method in class io.apigee.trireme.core.internal.ScriptRunner
Execute the script.
cancel(boolean) - Method in class io.apigee.trireme.core.ScriptFuture
 
CANCEL_CODE - Static variable in class io.apigee.trireme.core.ScriptStatus
 
cancelled - Variable in class io.apigee.trireme.core.internal.ScriptRunner.Activity
 
CANCELLED - Static variable in class io.apigee.trireme.core.ScriptStatus
 
catBuffers(ByteBuffer, ByteBuffer) - Static method in class io.apigee.trireme.core.Utils
Concatenate two byte buffers into one, updating their position.
CertificateParser - Class in io.apigee.trireme.core.internal
This class parses X.509 certificates (typically from TLS) and turns them in to JavaScript objects that match the output from Node.js.
charsetForName(String) - Method in class io.apigee.trireme.core.NodeCharsetProvider
 
charsets() - Method in class io.apigee.trireme.core.NodeCharsetProvider
 
chdir(Context, Object[]) - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
ChildModuleRegistry - Class in io.apigee.trireme.core.internal
There is one of these registries for each node module.
ChildModuleRegistry(AbstractModuleRegistry) - Constructor for class io.apigee.trireme.core.internal.ChildModuleRegistry
 
CipherImpl - Class in io.apigee.trireme.core.modules.crypto
 
CipherImpl() - Constructor for class io.apigee.trireme.core.modules.crypto.CipherImpl
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.internal.ProcessEnvironment
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.modules.Buffer.BufferImpl
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.modules.Crypto.CryptoImpl
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.modules.crypto.DHGroupImpl
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.modules.crypto.DHImpl
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.modules.crypto.HashImpl
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.modules.crypto.MacImpl
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.modules.Evals.NodeScriptImpl
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.modules.HTTPWrap.HttpImpl
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.modules.HTTPWrap.RequestAdapter
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.modules.HTTPWrap.ResponseAdapter
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.modules.ModuleLoader.LoaderImpl
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.modules.NativeModule.ModuleImpl
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.modules.NativeModule.NativeImpl
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.modules.OS.OSImpl
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.modules.TriremeNativeSupport.NativeSupportImpl
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.modules.UDPWrap.QueuedWrite
 
CLASS_NAME - Static variable in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
ClassCache - Interface in io.apigee.trireme.core
This interface describes a generic cache for compiled JavaScript classes.
cleanup() - Method in interface io.apigee.trireme.core.modules.AbstractFilesystem
 
clearErrno() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
clearErrno() - Static method in class io.apigee.trireme.core.modules.Referenceable
 
clearPin() - Method in class io.apigee.trireme.core.modules.Referenceable
Clear the flag requesting that we pin the script.
close() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
close(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
close(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
 
close() - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
close() - Method in class io.apigee.trireme.core.modules.Referenceable
 
close() - Method in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
close() - Method in class io.apigee.trireme.core.NodeEnvironment
Free any resources used by the environment.
close() - Method in class io.apigee.trireme.core.NodeScript
Callers should close the script when done to clean up resources.
close() - Method in class io.apigee.trireme.net.internal.AdapterHandleDelegate
 
close() - Method in class io.apigee.trireme.net.internal.UpgradedSocketDelegate
 
close() - Method in interface io.apigee.trireme.net.spi.HttpServerAdapter
Stop listening entirely.
close() - Method in interface io.apigee.trireme.net.spi.UpgradedSocket
Close the socket.
compareTo(ScriptRunner.Activity) - Method in class io.apigee.trireme.core.internal.ScriptRunner.Activity
 
compile(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.Evals.NodeScriptImpl
Used by vm.js -- compile and return an object that can be run later.
computeSecret(Context, Buffer.BufferImpl) - Method in class io.apigee.trireme.core.modules.crypto.AbstractDH
 
computeSecret(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.DHGroupImpl
 
computeSecret(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.DHImpl
 
connect(String, int, IOCompletionHandler<Integer>) - Method in class io.apigee.trireme.net.internal.AdapterHandleDelegate
 
connect(String, int, IOCompletionHandler<Integer>) - Method in class io.apigee.trireme.net.internal.UpgradedSocketDelegate
 
connected - Variable in class io.apigee.trireme.core.internal.AbstractProcess
 
ConnectionImpl - Class in io.apigee.trireme.core.modules.crypto
This is the implementation of a TLS connection.
ConnectionImpl() - Constructor for class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
Constants - Class in io.apigee.trireme.core.modules
Includes all the constants from the built-in "constants" module in Node.
Constants() - Constructor for class io.apigee.trireme.core.modules.Constants
 
construct(Context, Object[], Function, boolean) - Static method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
Constructor -- set up all the params passed by "tls.js".
construct(Context, Object[], Function, boolean) - Static method in class io.apigee.trireme.core.modules.crypto.DHGroupImpl
 
construct(Context, Object[], Function, boolean) - Static method in class io.apigee.trireme.core.modules.crypto.DHImpl
 
containsHeader(String) - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
 
convertString(Object, String, Context, Scriptable) - Static method in class io.apigee.trireme.core.modules.Crypto
 
CORE_POOL_SIZE - Static variable in class io.apigee.trireme.core.NodeEnvironment
 
createContext(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.Evals.NodeScriptImpl
 
createScript(String, File, String[]) - Method in class io.apigee.trireme.core.NodeEnvironment
Create an instance of a script attached to this environment.
createScript(String, String, String[]) - Method in class io.apigee.trireme.core.NodeEnvironment
Create an instance of a script attached to this environment.
createScript(String[], boolean) - Method in class io.apigee.trireme.core.NodeEnvironment
Create an instance of the script that will process command-line arguments from argv like regular Node.js.
createServerAdapter(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.HTTPWrap.HttpImpl
 
createTimedTask(Runnable, long, TimeUnit, boolean, Object) - Method in class io.apigee.trireme.core.internal.ScriptRunner
This is a more generic way of creating a timer that can be used in the kernel, and which works even if we are not in the main thread.
createTimer(long, boolean, long, ScriptTask, Scriptable) - Method in class io.apigee.trireme.core.internal.ScriptRunner
This method puts the task directly on the timer queue, which is unsynchronized.
Crypto - Class in io.apigee.trireme.core.modules
This class implements the internal "crypto" module.
Crypto() - Constructor for class io.apigee.trireme.core.modules.Crypto
 
Crypto.CryptoImpl - Class in io.apigee.trireme.core.modules
 
Crypto.CryptoImpl() - Constructor for class io.apigee.trireme.core.modules.Crypto.CryptoImpl
 
CryptoLoader - Class in io.apigee.trireme.core.modules.crypto
This is a singleton class to ensure that we only load the BouncyCastle crypto provider once per JVM, but for startup time reasons we don't load it until we actually require the "crypto" module once.
cwd() - Method in class io.apigee.trireme.core.internal.AbstractProcess
 

D

DecipherImpl - Class in io.apigee.trireme.core.modules.crypto
 
DecipherImpl() - Constructor for class io.apigee.trireme.core.modules.crypto.DecipherImpl
 
DEFAULT_JS_VERSION - Static variable in class io.apigee.trireme.core.NodeEnvironment
 
DEFAULT_NODE_VERSION - Static variable in class io.apigee.trireme.core.NodeEnvironment
The default version of the Node.js runtime that will be used.
DEFAULT_OPT_LEVEL - Static variable in class io.apigee.trireme.core.NodeEnvironment
 
DEFAULT_UMASK - Static variable in class io.apigee.trireme.core.internal.AbstractProcess
We don't really know what the umask is in Java, so we set a reasonable default that the tests expected.
defaultConstructor(Context, Object[]) - Method in class io.apigee.trireme.core.internal.AbstractIdObject
Subclasses who need arguments to their constructor may override this function.
defaultConstructor() - Method in class io.apigee.trireme.core.internal.AbstractIdObject
Subclasses must override this function.
defaultConstructor() - Method in class io.apigee.trireme.core.modules.Buffer.BufferImpl
 
defaultConstructor(Context, Object[]) - Method in class io.apigee.trireme.core.modules.Buffer.BufferImpl
The constructor for this class delegates mostly to the JavaScript constructor code.
DefaultTrustStore - Class in io.apigee.trireme.core.modules.crypto
The purpose of this singleton class is to retrieve the default trust store (the one with the built-in CA certificates.
delete(String) - Method in class io.apigee.trireme.core.internal.ProcessEnvironment
 
destroy() - Method in class io.apigee.trireme.core.modules.HTTPWrap.ResponseAdapter
 
destroy() - Method in interface io.apigee.trireme.net.spi.HttpResponseAdapter
Destroy the request prematurely -- this is not required unless there is a problem on the response side.
DH_GENERATOR - Static variable in class io.apigee.trireme.core.modules.crypto.AbstractDH
 
DHGroupImpl - Class in io.apigee.trireme.core.modules.crypto
 
DHGroupImpl() - Constructor for class io.apigee.trireme.core.modules.crypto.DHGroupImpl
 
DHImpl - Class in io.apigee.trireme.core.modules.crypto
 
DHImpl() - Constructor for class io.apigee.trireme.core.modules.crypto.DHImpl
 
digest(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.HashImpl
 
digest(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.MacImpl
 
doFinal(Context) - Method in class io.apigee.trireme.core.modules.crypto.AbstractCipherImpl
 
doFinal(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.CipherImpl
 
doFinal(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.DecipherImpl
 
doKill(Context, Object[]) - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
domain - Variable in class io.apigee.trireme.core.internal.ScriptRunner.Activity
 
doPause() - Method in interface io.apigee.trireme.net.spi.PauseHelper.FlowControl
 
doResume() - Method in interface io.apigee.trireme.net.spi.PauseHelper.FlowControl
 
doubleArg(Object[], int) - Static method in class io.apigee.trireme.core.ArgUtils
Return the argument at "pos" as a double, or throw an exception if the argument list is not long enough.
doubleArg(Object[], int, double) - Static method in class io.apigee.trireme.core.ArgUtils
Return the argument at "pos" as a double, or return "def" if the argument list is not long enough.
doubleBuffer(CharBuffer) - Static method in class io.apigee.trireme.core.Utils
Double the capacity of the specified buffer so that more data may be added.
doubleBuffer(ByteBuffer) - Static method in class io.apigee.trireme.core.Utils
Double the capacity of the specified buffer so that more data may be added.
dropMembership(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
duplicateBuffer(ByteBuffer) - Static method in class io.apigee.trireme.core.Utils
Make a duplicate of a ByteBuffer.

E

EACCES - Static variable in class io.apigee.trireme.core.modules.Constants
 
EADDRINUSE - Static variable in class io.apigee.trireme.core.modules.Constants
 
EBADF - Static variable in class io.apigee.trireme.core.modules.Constants
 
ECONNREFUSED - Static variable in class io.apigee.trireme.core.modules.Constants
 
EEXIST - Static variable in class io.apigee.trireme.core.modules.Constants
 
EILSEQ - Static variable in class io.apigee.trireme.core.modules.Constants
 
EINTR - Static variable in class io.apigee.trireme.core.modules.Constants
 
EINVAL - Static variable in class io.apigee.trireme.core.modules.Constants
 
EIO - Static variable in class io.apigee.trireme.core.modules.Constants
 
EISDIR - Static variable in class io.apigee.trireme.core.modules.Constants
 
emitEvent(String, Object, Context, Scriptable) - Method in class io.apigee.trireme.core.internal.AbstractProcess
Call "emit" to emit an event
EMPTY - Static variable in class io.apigee.trireme.core.modules.crypto.AbstractCipherImpl
 
ENOENT - Static variable in class io.apigee.trireme.core.modules.Constants
 
ENOTDIR - Static variable in class io.apigee.trireme.core.modules.Constants
 
ENOTEMPTY - Static variable in class io.apigee.trireme.core.modules.Constants
 
ENOTFOUND - Static variable in class io.apigee.trireme.core.modules.Constants
 
enqueueCallback(Function, Scriptable, Scriptable, Object[]) - Method in class io.apigee.trireme.core.internal.ScriptRunner
This method uses a concurrent queue so it may be called from any thread.
enqueueCallback(Function, Scriptable, Scriptable, Object, Object[]) - Method in class io.apigee.trireme.core.internal.ScriptRunner
This method uses a concurrent queue so it may be called from any thread.
enqueueCallback(Function, Scriptable, Scriptable, Object[]) - Method in interface io.apigee.trireme.core.NodeRuntime
Put a task on the tick queue to run the specified function in the specified scope.
enqueueCallback(Function, Scriptable, Scriptable, Object, Object[]) - Method in interface io.apigee.trireme.core.NodeRuntime
Put a task on the tick queue to run the specified function in the specified scope.
enqueueIpc(Context, Object, TriremeProcess) - Method in class io.apigee.trireme.core.internal.ScriptRunner
This method is used by the "child_process" module when sending an IPC message between child processes in the same JVM.
enqueueTask(ScriptTask) - Method in class io.apigee.trireme.core.internal.ScriptRunner
This method uses a concurrent queue so it may be called from any thread.
enqueueTask(ScriptTask, Object) - Method in class io.apigee.trireme.core.internal.ScriptRunner
This method uses a concurrent queue so it may be called from any thread.
enqueueTask(ScriptTask) - Method in interface io.apigee.trireme.core.NodeRuntime
Put a task on the tick queue to be run in the main script thread.
enqueueTask(ScriptTask, Object) - Method in interface io.apigee.trireme.core.NodeRuntime
Put a task on the tick queue to be run in the main script thread.
ensureArg(Object[], int) - Static method in class io.apigee.trireme.core.ArgUtils
Throw an execption if the argument list isn't long enough for argument "pos".
ensureCryptoService(Context, Scriptable) - Static method in class io.apigee.trireme.core.modules.Crypto
 
ensureValid(Object) - Static method in class io.apigee.trireme.core.ArgUtils
Return the object, or null if it is "not found" or undefined.
env - Variable in class io.apigee.trireme.core.internal.AbstractProcess
 
EOF - Static variable in class io.apigee.trireme.core.modules.Constants
 
EPERM - Static variable in class io.apigee.trireme.core.modules.Constants
 
EPIPE - Static variable in class io.apigee.trireme.core.modules.Constants
 
ESRCH - Static variable in class io.apigee.trireme.core.modules.Constants
 
eval - Variable in class io.apigee.trireme.core.internal.AbstractProcess
 
Evals - Class in io.apigee.trireme.core.modules
This implements the same "evals" module as regular Node.
Evals() - Constructor for class io.apigee.trireme.core.modules.Evals
 
Evals.NodeScriptImpl - Class in io.apigee.trireme.core.modules
 
Evals.NodeScriptImpl() - Constructor for class io.apigee.trireme.core.modules.Evals.NodeScriptImpl
 
EXCEPTION - Static variable in class io.apigee.trireme.core.ScriptStatus
 
EXCEPTION_CODE - Static variable in class io.apigee.trireme.core.ScriptStatus
 
execArgv - Variable in class io.apigee.trireme.core.internal.AbstractProcess
 
execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class io.apigee.trireme.core.internal.AbstractIdObject
 
EXECUTABLE_NAME - Static variable in class io.apigee.trireme.core.internal.AbstractProcess
 
execute() - Method in class io.apigee.trireme.core.NodeScript
Run the script and return a Future denoting its status.
execute(Context, Scriptable) - Method in interface io.apigee.trireme.core.ScriptTask
Actually run the task.
executeCallback(Context, Object[], Function, Scriptable) - Method in class io.apigee.trireme.core.internal.ScriptRunner
Immediately execute the specified callback.
executeModule() - Method in class io.apigee.trireme.core.NodeScript
Run the script, but treat it as a module rather than as a true script.
executeScriptTask(Runnable, Object) - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
executeTicks(Context) - Method in class io.apigee.trireme.core.internal.ScriptRunner
Execute ticks as defined by process.nextTick() and anything put on the queue from Java code.
exists(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.NativeModule.NativeImpl
 
exiting - Variable in class io.apigee.trireme.core.internal.AbstractProcess
 
exportAsClass(Scriptable) - Method in class io.apigee.trireme.core.internal.AbstractIdObject
 

F

fatalError(String, Object) - Method in class io.apigee.trireme.core.modules.HTTPWrap.ResponseAdapter
 
fatalError(String, Object) - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
This method is called when the whole server has failed or is shutting down prematurely.
fatalError(String, String) - Method in interface io.apigee.trireme.net.spi.HttpResponseAdapter
A fatal error occurred while processing the associated request.
fillConstructorProperties(IdFunctionObject) - Method in class io.apigee.trireme.core.modules.Buffer.BufferImpl
 
findInstanceIdInfo(String) - Method in class io.apigee.trireme.core.internal.AbstractIdObject
 
findMethod(Class<?>, String) - Static method in class io.apigee.trireme.core.Utils
Given a class, find the first method named "name".
findPrototypeId(String) - Method in class io.apigee.trireme.core.internal.AbstractIdObject
 
floatArg(Object[], int) - Static method in class io.apigee.trireme.core.ArgUtils
Return the argument at "pos" as a float, or throw an exception if the argument list is not long enough.
floatArg(Object[], int, float) - Static method in class io.apigee.trireme.core.ArgUtils
Return the argument at "pos" as a float, or return "def" if the argument list is not long enough.
forceRepl - Variable in class io.apigee.trireme.core.internal.AbstractProcess
 
formatAddress(InetAddress, int, Context, Scriptable) - Static method in class io.apigee.trireme.net.NetUtils
 
formatDate() - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
functionArg(Object[], int, boolean) - Static method in class io.apigee.trireme.core.ArgUtils
Deprecated.

G

generateKeys(Context) - Method in class io.apigee.trireme.core.modules.crypto.AbstractDH
 
generateKeys(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.DHGroupImpl
 
generateKeys(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.DHImpl
 
GenericProcess - Interface in io.apigee.trireme.core.internal
 
get(String) - Method in class io.apigee.trireme.core.internal.AbstractModuleRegistry
Get a "regular" module, loadable via "require".
get() - Static method in class io.apigee.trireme.core.internal.CertificateParser
 
get(String) - Method in class io.apigee.trireme.core.internal.ChildModuleRegistry
 
get() - Static method in class io.apigee.trireme.core.internal.JavaVersion
 
get(String, Scriptable) - Method in class io.apigee.trireme.core.internal.ProcessEnvironment
You can "get" any property value, regardless of case
get() - Static method in class io.apigee.trireme.core.internal.ProcessManager
 
get(String) - Method in class io.apigee.trireme.core.internal.RootModuleRegistry
 
get(int, Scriptable) - Method in class io.apigee.trireme.core.modules.Buffer.BufferImpl
 
get(int) - Method in class io.apigee.trireme.core.modules.Buffer.BufferImpl
 
get() - Static method in class io.apigee.trireme.core.modules.crypto.CryptoLoader
 
get() - Static method in class io.apigee.trireme.core.modules.crypto.DefaultTrustStore
 
get() - Method in class io.apigee.trireme.core.ScriptFuture
 
get(long, TimeUnit) - Method in class io.apigee.trireme.core.ScriptFuture
 
getArch() - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
getArray() - Method in class io.apigee.trireme.core.modules.Buffer.BufferImpl
 
getArrayOffset() - Method in class io.apigee.trireme.core.modules.Buffer.BufferImpl
 
getAsyncPool() - Method in class io.apigee.trireme.core.internal.ScriptRunner
This thread pool is a thread pool that has a fixed maximum size and a queue.
getAsyncPool() - Method in class io.apigee.trireme.core.NodeEnvironment
Internal: Get the thread pool for async tasks.
getAsyncThreadPool() - Method in class io.apigee.trireme.core.Sandbox
 
getAttachment() - Method in class io.apigee.trireme.core.modules.HTTPWrap.RequestAdapter
 
getAttachment() - Method in class io.apigee.trireme.core.modules.HTTPWrap.ResponseAdapter
 
getAttachment() - Method in class io.apigee.trireme.core.NodeScript
Callers can use this method to attach objects to the script.
getBuffer() - Method in class io.apigee.trireme.core.modules.Buffer.BufferImpl
 
getBuiltInModules() - Method in interface io.apigee.trireme.core.spi.NodeImplementation
Return a two-dimensional array of built-in module names.
getCache() - Method in class io.apigee.trireme.core.modules.NativeModule.NativeImpl
 
getCached(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.NativeModule.NativeImpl
 
getCachedInternalModule(String) - Method in class io.apigee.trireme.core.internal.ScriptRunner
Return a module that is used internally and exposed by "process.binding".
getCachedModule(String) - Method in class io.apigee.trireme.core.internal.ScriptRunner
Return a module that was created implicitly or by the "native module"
getCachedScript(String) - Method in interface io.apigee.trireme.core.ClassCache
Return a cached copy of the script, or null if the object is not in the cache.
getCachedScript(String) - Method in class io.apigee.trireme.core.internal.SoftClassCache
 
getCause() - Method in class io.apigee.trireme.core.ScriptStatus
 
getCiphers(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.Crypto.CryptoImpl
 
getCiphers() - Method in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
 
getCiphers() - Method in class io.apigee.trireme.net.spi.TLSParams
 
getClassCache() - Method in class io.apigee.trireme.core.NodeEnvironment
 
getClassLoader(URL[]) - Method in interface io.apigee.trireme.core.Sandbox.ClassLoaderSupplier
 
getClassLoaderSupplier() - Method in class io.apigee.trireme.core.Sandbox
Returns the ClassLoaderSupplier if set, null otherwise.
getClassName() - Method in class io.apigee.trireme.core.internal.AbstractIdObject
 
getClassName() - Method in class io.apigee.trireme.core.internal.ProcessEnvironment
 
getClassName() - Method in class io.apigee.trireme.core.modules.Buffer.BufferImpl
 
getClassName() - Method in class io.apigee.trireme.core.modules.crypto.CipherImpl
 
getClassName() - Method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
getClassName() - Method in class io.apigee.trireme.core.modules.Crypto.CryptoImpl
 
getClassName() - Method in class io.apigee.trireme.core.modules.crypto.DecipherImpl
 
getClassName() - Method in class io.apigee.trireme.core.modules.crypto.DHGroupImpl
 
getClassName() - Method in class io.apigee.trireme.core.modules.crypto.DHImpl
 
getClassName() - Method in class io.apigee.trireme.core.modules.crypto.HashImpl
 
getClassName() - Method in class io.apigee.trireme.core.modules.crypto.MacImpl
 
getClassName() - Method in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
 
getClassName() - Method in class io.apigee.trireme.core.modules.crypto.SignImpl
 
getClassName() - Method in class io.apigee.trireme.core.modules.crypto.VerifyImpl
 
getClassName() - Method in class io.apigee.trireme.core.modules.Evals.NodeScriptImpl
 
getClassName() - Method in class io.apigee.trireme.core.modules.HTTPWrap.HttpImpl
 
getClassName() - Method in class io.apigee.trireme.core.modules.HTTPWrap.RequestAdapter
 
getClassName() - Method in class io.apigee.trireme.core.modules.HTTPWrap.ResponseAdapter
 
getClassName() - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
getClassName() - Method in class io.apigee.trireme.core.modules.ModuleLoader.LoaderImpl
 
getClassName() - Method in class io.apigee.trireme.core.modules.NativeModule.ModuleImpl
 
getClassName() - Method in class io.apigee.trireme.core.modules.NativeModule.NativeImpl
 
getClassName() - Method in class io.apigee.trireme.core.modules.OS.OSImpl
 
getClassName() - Method in class io.apigee.trireme.core.modules.Referenceable
 
getClassName() - Method in class io.apigee.trireme.core.modules.TriremeNativeSupport.NativeSupportImpl
 
getClassName() - Method in class io.apigee.trireme.core.modules.UDPWrap.QueuedWrite
 
getClassName() - Method in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
getClientAttachment() - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
 
getCode() - Method in exception io.apigee.trireme.core.internal.NodeExitException
 
getCode() - Method in exception io.apigee.trireme.core.internal.NodeOSException
 
getCompiledModule(String) - Method in class io.apigee.trireme.core.internal.AbstractModuleRegistry
Get a pre-compiled script, loaded via NodeScriptModule.
getCompiledModule(String) - Method in class io.apigee.trireme.core.internal.ChildModuleRegistry
 
getCompiledModule(String) - Method in class io.apigee.trireme.core.internal.RootModuleRegistry
 
getCompiledModuleNames() - Method in class io.apigee.trireme.core.internal.AbstractModuleRegistry
 
getCompiledModuleNames() - Method in class io.apigee.trireme.core.internal.ChildModuleRegistry
 
getCompiledModuleNames() - Method in class io.apigee.trireme.core.internal.RootModuleRegistry
 
getCompiledScripts() - Method in interface io.apigee.trireme.core.NodePrecompiledModule
Return a two-dimensional array of strings denoting the script sources.
getConfig() - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
getContext() - Method in class io.apigee.trireme.net.spi.TLSParams
 
getContextFactory() - Method in class io.apigee.trireme.core.NodeEnvironment
Internal: Get the Rhino ContextFactory for this environment.
getCPUs(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.OS.OSImpl
 
getCryptoProvider() - Method in class io.apigee.trireme.core.modules.crypto.CryptoLoader
 
getCryptoProvider() - Static method in class io.apigee.trireme.core.modules.Crypto
 
getCryptoService() - Method in class io.apigee.trireme.core.modules.crypto.CryptoLoader
 
getCryptoService() - Static method in class io.apigee.trireme.core.modules.Crypto
 
getCurrentCipher(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
getData() - Method in interface io.apigee.trireme.net.spi.HttpDataAdapter
 
getData() - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
 
getDefaultNodeVersion() - Method in class io.apigee.trireme.core.NodeEnvironment
Return the default implementation version.
getDisplayName() - Method in class io.apigee.trireme.core.NodeScript
 
getDomain() - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
getDomain() - Method in class io.apigee.trireme.core.internal.ScriptRunner.Activity
 
getDomain() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
getEndianness(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.OS.OSImpl
 
getEnvironment() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
getEnvironment() - Method in interface io.apigee.trireme.core.NodeRuntime
Return the Environment used to create this script.
getEnvironment() - Method in class io.apigee.trireme.core.NodeScript
Get the current set of environment variables that will be passed to the script.
getErrno() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
getError() - Method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
getExecArgv() - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
getExitCode() - Method in class io.apigee.trireme.core.ScriptStatus
 
getExports() - Method in class io.apigee.trireme.core.modules.NativeModule.ModuleImpl
 
getExports() - Method in class io.apigee.trireme.core.modules.NativeModule.NativeImpl
 
getExtraClassShutter() - Method in class io.apigee.trireme.core.internal.RhinoContextFactory
 
getExtraClassShutter() - Method in class io.apigee.trireme.core.Sandbox
 
getFeatures(Context) - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
getFileName() - Method in class io.apigee.trireme.core.modules.NativeModule.ModuleImpl
 
getFileName() - Method in class io.apigee.trireme.core.modules.NativeModule.NativeImpl
 
getFilesystem() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
getFilesystemRoot() - Method in class io.apigee.trireme.core.Sandbox
 
getFreeMem(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.OS.OSImpl
 
getFuture() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
getGenerator(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.DHGroupImpl
 
getGenerator(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.DHImpl
 
getGlobalContext(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.Evals.NodeScriptImpl
 
getHandleFatal() - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
getHandshakeDone() - Method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
getHandshakeStart() - Method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
getHashes(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.Crypto.CryptoImpl
 
getHeader(String) - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
 
getHeaders() - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
 
getHeaders(String) - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
 
getHostname(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.OS.OSImpl
 
getHttpContainer() - Method in class io.apigee.trireme.core.NodeEnvironment
 
getId() - Method in class io.apigee.trireme.core.modules.NativeModule.ModuleImpl
 
getId() - Method in class io.apigee.trireme.core.modules.NativeModule.NativeImpl
 
getIds() - Method in class io.apigee.trireme.core.internal.ProcessEnvironment
process.environment only contains keys of the original environment variables, in their original case
getImplementation() - Method in class io.apigee.trireme.core.internal.AbstractModuleRegistry
 
getImplementation() - Method in class io.apigee.trireme.core.internal.ChildModuleRegistry
 
getImplementation() - Method in class io.apigee.trireme.core.internal.RootModuleRegistry
 
getInstanceIdName(int) - Method in class io.apigee.trireme.core.internal.AbstractIdObject
 
getInstanceIdValue(int) - Method in class io.apigee.trireme.core.modules.Buffer.BufferImpl
 
getInterfaceAddresses(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.OS.OSImpl
 
getInterfaceVersion() - Method in class io.apigee.trireme.core.modules.TriremeNativeSupport.NativeSupportImpl
 
getInternal(String) - Method in class io.apigee.trireme.core.internal.AbstractModuleRegistry
Get an "internal" module, loadable via "process.binding".
getInternal(String) - Method in class io.apigee.trireme.core.internal.ChildModuleRegistry
 
getInternal(String) - Method in class io.apigee.trireme.core.internal.RootModuleRegistry
 
getInternalModule(String, Context) - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
getInterval() - Method in class io.apigee.trireme.core.internal.ScriptRunner.Activity
 
getIpcHandle() - Method in interface io.apigee.trireme.core.internal.TriremeProcess
 
getJSExecArgv() - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
getJsVersion() - Method in class io.apigee.trireme.core.internal.RhinoContextFactory
 
getKeyAgreement() - Method in class io.apigee.trireme.core.modules.crypto.AbstractDH
 
getKeyFactory() - Method in class io.apigee.trireme.core.modules.crypto.AbstractDH
 
getKeyPairGen() - Method in class io.apigee.trireme.core.modules.crypto.AbstractDH
 
getLength() - Method in class io.apigee.trireme.core.modules.Buffer.BufferImpl
 
getListener() - Method in class io.apigee.trireme.core.ScriptFuture
 
getLoadAvg(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.OS.OSImpl
 
getLocalAddress() - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
 
getLocalPort() - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
 
getLoopTimestamp() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
getMainScript() - Method in class io.apigee.trireme.core.internal.AbstractModuleRegistry
 
getMainScript() - Method in class io.apigee.trireme.core.internal.ChildModuleRegistry
 
getMainScript() - Method in class io.apigee.trireme.core.internal.RootModuleRegistry
 
getMainScriptClass() - Method in interface io.apigee.trireme.core.spi.NodeImplementation
Return the name of the class that contains the compiled JavaScript for the "main" of the implementation.
getMajorVersion() - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
 
getMakeRequest() - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
getMakeResponse() - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
getMakeSocket() - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
getMaxAsyncPoolSize() - Method in class io.apigee.trireme.core.NodeEnvironment
 
getMaxInstanceId() - Method in class io.apigee.trireme.core.internal.AbstractIdObject
 
getMethod() - Method in interface io.apigee.trireme.net.spi.HttpRequestAdapter
 
getMinorVersion() - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
 
getModuleName() - Method in class io.apigee.trireme.core.modules.Buffer
 
getModuleName() - Method in class io.apigee.trireme.core.modules.Constants
 
getModuleName() - Method in class io.apigee.trireme.core.modules.Crypto
 
getModuleName() - Method in class io.apigee.trireme.core.modules.Evals
 
getModuleName() - Method in class io.apigee.trireme.core.modules.HTTPWrap
 
getModuleName() - Method in class io.apigee.trireme.core.modules.ModuleLoader
 
getModuleName() - Method in class io.apigee.trireme.core.modules.NativeModule
 
getModuleName() - Method in class io.apigee.trireme.core.modules.Natives
 
getModuleName() - Method in class io.apigee.trireme.core.modules.OS
 
getModuleName() - Method in class io.apigee.trireme.core.modules.TriremeNativeSupport
 
getModuleName() - Method in class io.apigee.trireme.core.modules.UDPWrap
 
getModuleName() - Method in interface io.apigee.trireme.core.NodeModule
Return the top-level name of the module as it'd be looked up in a "require" call.
getModuleResult() - Method in class io.apigee.trireme.core.ScriptFuture
 
getModuleResult(long, TimeUnit) - Method in class io.apigee.trireme.core.ScriptFuture
 
getMounts() - Method in class io.apigee.trireme.core.Sandbox
 
getNative(String) - Method in class io.apigee.trireme.core.internal.AbstractModuleRegistry
Get a "native" module -- a replacement for native code, loadable via "dlopen".
getNative(String) - Method in class io.apigee.trireme.core.internal.ChildModuleRegistry
 
getNative(String) - Method in class io.apigee.trireme.core.internal.RootModuleRegistry
 
getNativeModule() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
getNativeModules() - Method in interface io.apigee.trireme.core.spi.NodeImplementation
Return a set of NodeModule class names that represent Java code built in to this implementation that should appear as the result of a "require" or "process.binding" call.
getNetworkPolicy() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
getNetworkPolicy() - Method in class io.apigee.trireme.core.Sandbox
 
getNextPid() - Method in class io.apigee.trireme.core.internal.ProcessManager
 
getNodeVersion() - Method in class io.apigee.trireme.core.NodeScript
 
getNodeVersions() - Method in class io.apigee.trireme.core.NodeEnvironment
Return a list of Node.js implementations available in this environment.
getOnChannelClosed() - Method in class io.apigee.trireme.core.modules.HTTPWrap.ResponseAdapter
 
getOnClose() - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
getOnComplete() - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
getOnComplete() - Method in class io.apigee.trireme.core.modules.UDPWrap.QueuedWrite
 
getOnData() - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
getOnError() - Method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
getOnHeaders() - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
getOnMessage() - Method in interface io.apigee.trireme.core.internal.TriremeProcess
 
getOnMessage() - Method in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
getOnUnwrap() - Method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
getOnUpgrade() - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
getOnWrap() - Method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
getOnWriteComplete() - Method in class io.apigee.trireme.core.modules.HTTPWrap.ResponseAdapter
 
getOptLevel() - Method in class io.apigee.trireme.core.internal.RhinoContextFactory
 
getOptLevel() - Method in class io.apigee.trireme.core.NodeEnvironment
 
getOSRelease(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.OS.OSImpl
 
getOSType(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.OS.OSImpl
 
getParamGen() - Method in class io.apigee.trireme.core.modules.crypto.AbstractDH
 
getParentProcess() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
getPath() - Method in exception io.apigee.trireme.core.internal.NodeOSException
 
getPathTranslator() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
getPeerCertificate(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
getPeerName() - Method in class io.apigee.trireme.net.internal.AdapterHandleDelegate
 
getPeerName() - Method in class io.apigee.trireme.net.internal.UpgradedSocketDelegate
 
getPid() - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
getPlatform() - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
getPrime(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.DHGroupImpl
 
getPrime(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.DHImpl
 
getPrivateKey(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.DHGroupImpl
 
getPrivateKey(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.DHImpl
 
getProcess(int) - Method in class io.apigee.trireme.core.internal.ProcessManager
 
getProcess() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
getProtocol() - Method in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
 
getPublicKey(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.DHGroupImpl
 
getPublicKey(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.DHImpl
 
getQueueLength() - Method in class io.apigee.trireme.net.spi.PauseHelper
 
getReason() - Method in exception io.apigee.trireme.core.internal.NodeExitException
 
getRegistry() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
getRegistry(String) - Method in class io.apigee.trireme.core.NodeEnvironment
Internal: Get the registry for a particular implementation
getRemoteAddress() - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
 
getRemotePort() - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
 
getRequestHeaders(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.HTTPWrap.RequestAdapter
 
getRequestMajorVersion() - Method in class io.apigee.trireme.core.modules.HTTPWrap.RequestAdapter
 
getRequestMethod() - Method in class io.apigee.trireme.core.modules.HTTPWrap.RequestAdapter
 
getRequestMinorVersion() - Method in class io.apigee.trireme.core.modules.HTTPWrap.RequestAdapter
 
getRequestUrl() - Method in class io.apigee.trireme.core.modules.HTTPWrap.RequestAdapter
 
getRunner(Context) - Static method in class io.apigee.trireme.core.internal.AbstractProcess
 
getRunner(Context) - Static method in class io.apigee.trireme.core.modules.OS.OSImpl
 
getRunner(Context) - Static method in class io.apigee.trireme.core.modules.Referenceable
 
getRunner() - Static method in class io.apigee.trireme.core.modules.Referenceable
 
getRuntime() - Method in interface io.apigee.trireme.core.internal.TriremeProcess
 
getRuntime() - Method in class io.apigee.trireme.core.ScriptFuture
 
getSandbox() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
getSandbox() - Method in class io.apigee.trireme.core.NodeEnvironment
 
getSandbox() - Method in interface io.apigee.trireme.core.NodeRuntime
Return the sandbox used to limit script execution, or null if none was set
getSandbox() - Method in class io.apigee.trireme.core.NodeScript
 
getScriptObject() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
getScriptObject() - Method in interface io.apigee.trireme.core.NodeRuntime
Return the "NodeScript" used to create this script.
getScriptObject() - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
 
getScriptPool() - Method in class io.apigee.trireme.core.NodeEnvironment
Internal: Get the thread pool for running script threads.
getScriptScope() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
getScriptSources() - Method in interface io.apigee.trireme.core.NodeScriptModule
Return a two-dimensional array of strings denoting the script sources.
getScriptTimeLimit() - Method in class io.apigee.trireme.core.NodeEnvironment
 
getSelector() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
getSession(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
getsockname(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
getSockName() - Method in class io.apigee.trireme.net.internal.AdapterHandleDelegate
 
getSockName() - Method in class io.apigee.trireme.net.internal.UpgradedSocketDelegate
 
getSource(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.NativeModule.NativeImpl
 
getStatus() - Method in exception io.apigee.trireme.core.internal.NodeExitException
 
getStatusCode() - Method in interface io.apigee.trireme.net.spi.HttpResponseAdapter
 
getStderr() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
getStderr() - Method in class io.apigee.trireme.core.Sandbox
 
getStdin() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
getStdin() - Method in class io.apigee.trireme.core.Sandbox
 
getStdout() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
getStdout() - Method in class io.apigee.trireme.core.Sandbox
 
getString(String) - Method in class io.apigee.trireme.core.modules.Buffer.BufferImpl
 
getSubprocessPolicy() - Method in class io.apigee.trireme.core.Sandbox
 
getTimeout() - Method in class io.apigee.trireme.core.internal.ScriptRunner.Activity
 
getTotalMem(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.OS.OSImpl
 
getTrustManager() - Method in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
 
getTrustManagers() - Method in class io.apigee.trireme.core.modules.crypto.DefaultTrustStore
Return the singleton instance of the trust managers for the default root CA certs.
getUmask() - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
getUnboundedPool() - Method in class io.apigee.trireme.core.internal.ScriptRunner
This thread pool is a "cached thread pool" with no maximum size, which means that any task submitted will run in its own thread until it completes.
getUptime(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.OS.OSImpl
 
getUrl() - Method in interface io.apigee.trireme.net.spi.HttpRequestAdapter
 
getVersion() - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
getVersion() - Method in interface io.apigee.trireme.core.spi.NodeImplementation
Return the version of Node.js supported here.
getVersions() - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
getWorkingDirectory() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
getWorkingDirectory() - Method in class io.apigee.trireme.core.NodeScript
 
getWorkingDirectory() - Method in class io.apigee.trireme.core.Sandbox
 
getWrapper() - Method in class io.apigee.trireme.core.modules.NativeModule.NativeImpl
 

H

has(String, Scriptable) - Method in class io.apigee.trireme.core.internal.ProcessEnvironment
 
has(int, Scriptable) - Method in class io.apigee.trireme.core.modules.Buffer.BufferImpl
 
hasAsyncFileIO() - Method in class io.apigee.trireme.core.internal.JavaVersion
 
hasCause() - Method in class io.apigee.trireme.core.ScriptStatus
 
hasData() - Method in interface io.apigee.trireme.net.spi.HttpDataAdapter
 
hasData() - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
Return true if the message has any data at all.
hasFeature(Context, int) - Method in class io.apigee.trireme.core.internal.RhinoContextFactory
Override various default behaviors of Rhino.
hasFlushFlags() - Method in class io.apigee.trireme.core.internal.JavaVersion
 
hashConstructor(Context, Object[], Function, boolean) - Static method in class io.apigee.trireme.core.modules.crypto.HashImpl
 
HashImpl - Class in io.apigee.trireme.core.modules.crypto
 
HashImpl() - Constructor for class io.apigee.trireme.core.modules.crypto.HashImpl
 
hasServerAdapter() - Method in class io.apigee.trireme.core.modules.HTTPWrap.HttpImpl
 
HIDDEN_OS_NAME - Static variable in class io.apigee.trireme.core.modules.OS.OSImpl
 
HIDDEN_OS_RELEASE - Static variable in class io.apigee.trireme.core.modules.OS.OSImpl
 
hrtime(Context, Object[], Scriptable) - Static method in class io.apigee.trireme.core.internal.AbstractProcess
 
HttpDataAdapter - Interface in io.apigee.trireme.net.spi
 
HttpMessageAdapter - Interface in io.apigee.trireme.net.spi
A generic HTTP message
HttpRequestAdapter - Interface in io.apigee.trireme.net.spi
 
HttpResponseAdapter - Interface in io.apigee.trireme.net.spi
 
HttpServerAdapter - Interface in io.apigee.trireme.net.spi
This is the main class implemented by an HTTP Server container.
HttpServerContainer - Interface in io.apigee.trireme.net.spi
 
HttpServerStub - Interface in io.apigee.trireme.net.spi
This is the "southbound" interface in between the HTTP container and the JavaScript runtime.
HTTPWrap - Class in io.apigee.trireme.core.modules
This is a special module that wraps the generic HTTP adapter so that it may be accessed from JavaScript modules.
HTTPWrap() - Constructor for class io.apigee.trireme.core.modules.HTTPWrap
 
HTTPWrap.HttpImpl - Class in io.apigee.trireme.core.modules
This is the top-level module object, aka "exports" for this module.
HTTPWrap.HttpImpl() - Constructor for class io.apigee.trireme.core.modules.HTTPWrap.HttpImpl
 
HTTPWrap.RequestAdapter - Class in io.apigee.trireme.core.modules
This object is used by the "ServerRequest" object in the "adaptorhttp" module to interface with the Java runtime and with the HTTP adapter.
HTTPWrap.RequestAdapter() - Constructor for class io.apigee.trireme.core.modules.HTTPWrap.RequestAdapter
 
HTTPWrap.ResponseAdapter - Class in io.apigee.trireme.core.modules
This is a JavaScript object passed to the "adaptorhttp" module for each request.
HTTPWrap.ResponseAdapter() - Constructor for class io.apigee.trireme.core.modules.HTTPWrap.ResponseAdapter
 
HTTPWrap.ServerContainer - Class in io.apigee.trireme.core.modules
This implements the stub that the HTTP implementation will call into to notify us of new messages and data.
HTTPWrap.ServerContainer() - Constructor for class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 

I

id - Variable in class io.apigee.trireme.core.internal.ScriptRunner.Activity
 
Id_constructor - Static variable in class io.apigee.trireme.core.internal.AbstractIdObject
 
IdPropertyMap - Class in io.apigee.trireme.core.internal
This calss is used by AbstractIdObject to map ids to names for a JavaScript class that is implemented in Java.
IdPropertyMap(String) - Constructor for class io.apigee.trireme.core.internal.IdPropertyMap
 
incrementQueueLength(int) - Method in interface io.apigee.trireme.net.spi.HttpRequestAdapter
Increment a counter of bytes delivered to this request that have not yet been forwarded to the actual Node.js script yet, but are waiting in the task queue.
incrementQueueLength(int) - Method in class io.apigee.trireme.net.spi.PauseHelper
 
init(Context, Object[], int) - Method in class io.apigee.trireme.core.modules.crypto.AbstractCipherImpl
 
init(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.CipherImpl
 
init(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
Finish initialization by creating the SSLEngine, etc.
init(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.DecipherImpl
 
init(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.MacImpl
 
init(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
 
init(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.SignImpl
 
init(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.VerifyImpl
 
initialize(Map<String, String>) - Method in class io.apigee.trireme.core.internal.ProcessEnvironment
 
initialize(NodeRuntime) - Method in class io.apigee.trireme.core.modules.TriremeNativeSupport.NativeSupportImpl
 
initializeModule(String, AbstractModuleRegistry.ModuleType, Context, Scriptable) - Method in class io.apigee.trireme.core.internal.ScriptRunner
Initialize a native module implemented in Java code.
initiv(Context, Object[], int) - Method in class io.apigee.trireme.core.modules.crypto.AbstractCipherImpl
 
initiv(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.CipherImpl
 
initiv(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.DecipherImpl
 
initPrototypeId(int) - Method in class io.apigee.trireme.core.internal.AbstractIdObject
 
intArg(Object[], int) - Static method in class io.apigee.trireme.core.ArgUtils
Return the argument at "pos" as an int, or throw an exception if the argument list is not long enough.
intArg(Object[], int, int) - Static method in class io.apigee.trireme.core.ArgUtils
Return the argument at "pos" as an int, or return "def" if the argument list is not long enough.
intArgOnly(Object[], int) - Static method in class io.apigee.trireme.core.ArgUtils
Deprecated.
intArgOnly(Context, Scriptable, Object[], int, int) - Static method in class io.apigee.trireme.core.ArgUtils
Return the argument at "pos" as a Number, or throw an exception if the argument list is not long enough.
INTERFACE_VERSION - Static variable in class io.apigee.trireme.core.modules.TriremeNativeSupport.NativeSupportImpl
 
InternalNodeModule - Interface in io.apigee.trireme.core
A subclass of NodeModule that denotes modules that are loaded using the "process.binding" method.
internalRequire(String, Context) - Method in class io.apigee.trireme.core.modules.NativeModule.NativeImpl
This function is called by "require" on this internal module and also by any internal code that wishes to look up another module via ScriptRunner.require.
interpretScript(Context, Scriptable, String, String) - Static method in class io.apigee.trireme.core.internal.ScriptUtils
Execute the script in interpreted mode.
interval - Variable in class io.apigee.trireme.core.internal.ScriptRunner.Activity
 
intFromBuf(Buffer.BufferImpl, Context) - Method in class io.apigee.trireme.core.modules.crypto.AbstractDH
 
io.apigee.trireme.core - package io.apigee.trireme.core
 
io.apigee.trireme.core.internal - package io.apigee.trireme.core.internal
 
io.apigee.trireme.core.modules - package io.apigee.trireme.core.modules
 
io.apigee.trireme.core.modules.crypto - package io.apigee.trireme.core.modules.crypto
 
io.apigee.trireme.core.spi - package io.apigee.trireme.core.spi
 
io.apigee.trireme.net - package io.apigee.trireme.net
 
io.apigee.trireme.net.internal - package io.apigee.trireme.net.internal
 
io.apigee.trireme.net.spi - package io.apigee.trireme.net.spi
 
IPC_DISCONNECT - Static variable in interface io.apigee.trireme.core.internal.TriremeProcess
 
isAllowJarLoading() - Method in class io.apigee.trireme.core.Sandbox
 
isCancelled() - Method in class io.apigee.trireme.core.internal.ScriptRunner.Activity
 
isCancelled() - Method in class io.apigee.trireme.core.ScriptFuture
 
isCancelled() - Method in class io.apigee.trireme.core.ScriptStatus
 
isClientAuthRequested() - Method in class io.apigee.trireme.net.spi.TLSParams
 
isClientAuthRequired() - Method in class io.apigee.trireme.net.spi.TLSParams
 
isCountOperations() - Method in class io.apigee.trireme.core.internal.RhinoContextFactory
 
isDone() - Method in class io.apigee.trireme.core.ScriptFuture
 
isExiting() - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
isHideOSDetails() - Method in class io.apigee.trireme.core.Sandbox
 
isImmediateTaskPending() - Method in class io.apigee.trireme.core.internal.AbstractProcess
Are there tasks waiting to be invoked by "processImmediate tasks?
isInitFinished(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
isIntArg(Object) - Static method in class io.apigee.trireme.core.ArgUtils
Return if the specified argument is either a Number, or a String that could be converted to a number.
isLastChunk() - Method in interface io.apigee.trireme.net.spi.HttpDataAdapter
 
isLoaded() - Method in class io.apigee.trireme.core.modules.NativeModule.ModuleImpl
 
isLoaded() - Method in class io.apigee.trireme.core.modules.NativeModule.NativeImpl
 
isLocalIPv6() - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
Return true if the local address is definitely IPv6
isNativeModule(String) - Method in class io.apigee.trireme.core.internal.ScriptRunner
This is where we load native modules.
isOk() - Method in class io.apigee.trireme.core.ScriptStatus
 
isPinned() - Method in class io.apigee.trireme.core.NodeScript
 
isPrintEval() - Method in class io.apigee.trireme.core.NodeScript
 
isReceivedShutdown() - Method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
isRepeating() - Method in class io.apigee.trireme.core.internal.ScriptRunner.Activity
 
isSealRoot() - Method in class io.apigee.trireme.core.NodeEnvironment
Deprecated.
isSelfContained() - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
Return true if the message is self-contained, which means that no chunks will follow.
isSentShutdown() - Method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
isSessionReused(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
isTickTaskPending() - Method in class io.apigee.trireme.core.internal.AbstractProcess
Are there tasks scheduled by "nextTick" pending?

J

JavaVersion - Class in io.apigee.trireme.core.internal
This class helps us figure out which version of Java we are running.
JsGc() - Static method in class io.apigee.trireme.core.internal.AbstractProcess
 

K

kill(Context, Scriptable, int, String) - Method in class io.apigee.trireme.core.internal.ProcessManager
 
kill(Context, Scriptable, int, int) - Method in interface io.apigee.trireme.core.internal.TriremeProcess
 

L

listen(String, int, int) - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
listen(int, IOCompletionHandler<AbstractHandle>) - Method in class io.apigee.trireme.net.internal.AdapterHandleDelegate
 
listen(int, IOCompletionHandler<AbstractHandle>) - Method in class io.apigee.trireme.net.internal.UpgradedSocketDelegate
 
listen(String, int, int, TLSParams) - Method in interface io.apigee.trireme.net.spi.HttpServerAdapter
Start to listen on the specified host and port.
load(Context, ClassLoader) - Method in class io.apigee.trireme.core.internal.AbstractModuleRegistry
Load modules from the classloader and store them in this registry.
loaded(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.ModuleLoader.LoaderImpl
 
loadJars(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.TriremeNativeSupport.NativeSupportImpl
 
loadPKCS12(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
Load a PKCS12 key store.
loadRoot(Context) - Method in class io.apigee.trireme.core.internal.AbstractModuleRegistry
To be called once per script invocation, at startup.
loadRoot(Context) - Method in class io.apigee.trireme.core.internal.ChildModuleRegistry
 
loadRoot(Context) - Method in class io.apigee.trireme.core.internal.RootModuleRegistry
 
loadSession(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
log - Static variable in class io.apigee.trireme.core.modules.Evals
 
log - Static variable in class io.apigee.trireme.core.modules.HTTPWrap
 
log - Static variable in class io.apigee.trireme.core.modules.NativeModule
 
log - Static variable in class io.apigee.trireme.core.modules.UDPWrap
 
longArg(Object[], int) - Static method in class io.apigee.trireme.core.ArgUtils
Return the argument at "pos" as a long, or throw an exception if the argument list is not long enough.
longArg(Object[], int, long) - Static method in class io.apigee.trireme.core.ArgUtils
Return the argument at "pos" as a long, or return "def" if the argument list is not long enough.
longArgOnly(Context, Scriptable, Object[], int, long) - Static method in class io.apigee.trireme.core.ArgUtils
Return the argument at "pos" as a long, or return "def" if the argument list is not long enough.

M

MAC_ALGORITHMS - Static variable in class io.apigee.trireme.core.modules.crypto.MacImpl
 
MacImpl - Class in io.apigee.trireme.core.modules.crypto
 
MacImpl() - Constructor for class io.apigee.trireme.core.modules.crypto.MacImpl
 
makeContext() - Method in class io.apigee.trireme.core.internal.RhinoContextFactory
This method is called by Rhino when it's time for the context to be actually created, so in here we can access all the stuff that was set previously.
makeContext(Context, Scriptable) - Method in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
Once all that stuff on top has been all set, then this actually creates an SSLContext object.
makeError(Context, Scriptable, String) - Static method in class io.apigee.trireme.core.Utils
Create an exception that may be thrown from Java code, causing an exception and an Error object to be thrown in JavaScript.
makeError(Context, Scriptable, String, RhinoException) - Static method in class io.apigee.trireme.core.Utils
Create an exception that may be thrown from Java code, causing an exception and an Error object to be thrown in JavaScript.
makeError(Context, Scriptable, String, int, String) - Static method in class io.apigee.trireme.core.Utils
 
makeError(Context, Scriptable, String, int) - Static method in class io.apigee.trireme.core.Utils
 
makeError(Context, Scriptable, int) - Static method in class io.apigee.trireme.core.Utils
 
makeError(Context, Scriptable, String, String) - Static method in class io.apigee.trireme.core.Utils
Create an exception that may be thrown from Java code, causing an exception and an Error object to be thrown in JavaScript.
makeError(Context, Scriptable, NodeOSException) - Static method in class io.apigee.trireme.core.Utils
Create an exception that may be thrown from Java code, causing an exception and an Error object to be thrown in JavaScript.
makeError(Context, Scriptable, OSException) - Static method in class io.apigee.trireme.core.Utils
Create an exception that may be thrown from Java code, causing an exception and an Error object to be thrown in JavaScript.
makeErrorObject(Context, Scriptable, String) - Static method in class io.apigee.trireme.core.Utils
Create a JavaScript Error object, which may be passed to a function that is expecting one.
makeErrorObject(Context, Scriptable, String, RhinoException) - Static method in class io.apigee.trireme.core.Utils
Create a JavaScript Error object, which may be passed to a function that is expecting one.
makeErrorObject(Context, Scriptable, String, String) - Static method in class io.apigee.trireme.core.Utils
Create a JavaScript Error object, which may be passed to a function that is expecting one.
makeErrorObject(Context, Scriptable, String, String, String) - Static method in class io.apigee.trireme.core.Utils
Create a JavaScript Error object, which may be passed to a function that is expecting one.
makeErrorObject(Context, Scriptable, String, int, String) - Static method in class io.apigee.trireme.core.Utils
 
makeErrorObject(Context, Scriptable, String, int) - Static method in class io.apigee.trireme.core.Utils
 
makeErrorObject(Context, Scriptable, int) - Static method in class io.apigee.trireme.core.Utils
 
makeErrorObject(Context, Scriptable, NodeOSException) - Static method in class io.apigee.trireme.core.Utils
Create a JavaScript Error object, which may be passed to a function that is expecting one.
makeErrorObject(Context, Scriptable, OSException) - Static method in class io.apigee.trireme.core.Utils
Create a JavaScript Error object, which may be passed to a function that is expecting one.
makeRangeError(Context, Scriptable, String) - Static method in class io.apigee.trireme.core.Utils
Create a JavaScript RangeError object, which may be passed to a function that is expecting one.
makeTypeError(Context, Scriptable, String) - Static method in class io.apigee.trireme.core.Utils
Create a JavaScript TypeError object, which may be passed to a function that is expecting one.
MAX_BUFFER_LEN - Static variable in class io.apigee.trireme.core.modules.Crypto
This is a maximum value for a byte buffer that seems to be part of V8.
MAX_LENGTH - Static variable in class io.apigee.trireme.core.modules.Buffer
Not documented but node tests for a RangeError over this size.
MAX_POOL_SIZE - Static variable in class io.apigee.trireme.core.NodeEnvironment
 
MD_ALGORITHMS - Static variable in class io.apigee.trireme.core.modules.crypto.HashImpl
 
memoryUsage(Context, Scriptable) - Static method in class io.apigee.trireme.core.internal.AbstractProcess
 
MODULE_NAME - Static variable in class io.apigee.trireme.core.modules.Buffer
 
MODULE_NAME - Static variable in class io.apigee.trireme.core.modules.Crypto
 
MODULE_NAME - Static variable in class io.apigee.trireme.core.modules.NativeModule
 
ModuleLoader - Class in io.apigee.trireme.core.modules
This internal module is used when using the "executeModule" method of NodeScript, so that we can notify the runtime when the module that we're running is ready.
ModuleLoader() - Constructor for class io.apigee.trireme.core.modules.ModuleLoader
 
ModuleLoader.LoaderImpl - Class in io.apigee.trireme.core.modules
 
ModuleLoader.LoaderImpl() - Constructor for class io.apigee.trireme.core.modules.ModuleLoader.LoaderImpl
 
mount(String, String) - Method in class io.apigee.trireme.core.Sandbox
Mount a location on the local filesystem at a virtual path.

N

NativeModule - Class in io.apigee.trireme.core.modules
This class implements the NativeModule, which is normally part of "node.js" itself.
NativeModule() - Constructor for class io.apigee.trireme.core.modules.NativeModule
 
NativeModule.ModuleImpl - Class in io.apigee.trireme.core.modules
 
NativeModule.ModuleImpl() - Constructor for class io.apigee.trireme.core.modules.NativeModule.ModuleImpl
 
NativeModule.NativeImpl - Class in io.apigee.trireme.core.modules
 
NativeModule.NativeImpl() - Constructor for class io.apigee.trireme.core.modules.NativeModule.NativeImpl
 
NativeNodeModule - Interface in io.apigee.trireme.core
A native Node module is similar to a regular module in that it exposes a JavaScript object.
Natives - Class in io.apigee.trireme.core.modules
In regular node, "natives" is an internal module that contains the source code for all the built-in modules.
Natives() - Constructor for class io.apigee.trireme.core.modules.Natives
 
NetUtils - Class in io.apigee.trireme.net
 
NetUtils() - Constructor for class io.apigee.trireme.net.NetUtils
 
newBuffer(Context, Scriptable, ByteBuffer, boolean) - Static method in class io.apigee.trireme.core.modules.Buffer.BufferImpl
Read the bytes from the corresponding buffer into this one.
newBuffer(Context, Scriptable, byte[]) - Static method in class io.apigee.trireme.core.modules.Buffer.BufferImpl
 
newBuffer(Context, Scriptable, byte[], int, int) - Static method in class io.apigee.trireme.core.modules.Buffer.BufferImpl
 
newModule(Context, Scriptable, String, String) - Static method in class io.apigee.trireme.core.modules.NativeModule.ModuleImpl
 
newServer(NodeScript, HttpServerStub) - Method in interface io.apigee.trireme.net.spi.HttpServerContainer
When a new HTTP server is registered, the JavaScript runtime calls this method on the container to notify it that there is a need to listen on a new HTTP interface.
newUDPImpl(Context, Object[], Function, boolean) - Static method in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
NODE_SCRIPT_BASE - Static variable in class io.apigee.trireme.core.modules.NativeModule
 
NodeCharsetProvider - Class in io.apigee.trireme.core
If placed in the class path and registered via the ServiceLocator interface, this class adds three new character sets to the supported character sets in the current JVM: Node-Binary: Supports the Node.js "binary" encoding, which just copies one byte per character. Node-Hex: Supports the Node.js "hex" encoding, which encodes each byte into two hexadecimal digits. Node-Base64: Supports Node.js "base64" encoding, which is a full-fledged Base64 character set for many purposes.
NodeCharsetProvider() - Constructor for class io.apigee.trireme.core.NodeCharsetProvider
 
NodeEnvironment - Class in io.apigee.trireme.core
This class is the root of all script processing.
NodeEnvironment() - Constructor for class io.apigee.trireme.core.NodeEnvironment
Create a new NodeEnvironment with all the defaults.
NodeException - Exception in io.apigee.trireme.core
The base exception class.
NodeException(String) - Constructor for exception io.apigee.trireme.core.NodeException
 
NodeException(String, Throwable) - Constructor for exception io.apigee.trireme.core.NodeException
 
NodeException(Throwable) - Constructor for exception io.apigee.trireme.core.NodeException
 
NodeExitException - Exception in io.apigee.trireme.core.internal
This special exception is thrown by the abort() and exit() methods, to pass the exit code up the stack and make the script interpreter stop running.
NodeExitException(NodeExitException.Reason) - Constructor for exception io.apigee.trireme.core.internal.NodeExitException
 
NodeExitException(NodeExitException.Reason, int) - Constructor for exception io.apigee.trireme.core.internal.NodeExitException
 
NodeExitException.Reason - Enum in io.apigee.trireme.core.internal
 
NodeImplementation - Interface in io.apigee.trireme.core.spi
This class represents an implementation of Node.js -- it contains the JavaScript necessary to run all the various modules.
NodeModule - Interface in io.apigee.trireme.core
This is a superclass for all modules that may be loaded natively in Java.
NodeOSException - Exception in io.apigee.trireme.core.internal
This is an exception that includes an error code value.
NodeOSException(String) - Constructor for exception io.apigee.trireme.core.internal.NodeOSException
 
NodeOSException(String, String) - Constructor for exception io.apigee.trireme.core.internal.NodeOSException
 
NodeOSException(String, Throwable) - Constructor for exception io.apigee.trireme.core.internal.NodeOSException
 
NodeOSException(String, Throwable, String) - Constructor for exception io.apigee.trireme.core.internal.NodeOSException
 
NodeOSException(OSException) - Constructor for exception io.apigee.trireme.core.internal.NodeOSException
 
NodePrecompiledModule - Interface in io.apigee.trireme.core
This interface is used to write new modules in JavaScript that are plugged in to Noderunner as built-in modules.
NodeRuntime - Interface in io.apigee.trireme.core
This interface is passed to internal Node modules.
NodeScript - Class in io.apigee.trireme.core
This class represents an instance of a single Node script.
NodeScriptModule - Interface in io.apigee.trireme.core
This interface is used to write new modules in JavaScript that are plugged in to Noderunner as built-in modules.
NR_SCRIPT_BASE - Static variable in class io.apigee.trireme.core.modules.NativeModule
 
numberArg(Object[], int) - Static method in class io.apigee.trireme.core.ArgUtils
Return the argument at "pos" as a Number, or throw an exception if the argument list is not long enough.

O

O_APPEND - Static variable in class io.apigee.trireme.core.modules.Constants
 
O_CREAT - Static variable in class io.apigee.trireme.core.modules.Constants
 
O_DIRECTORY - Static variable in class io.apigee.trireme.core.modules.Constants
 
O_EXCL - Static variable in class io.apigee.trireme.core.modules.Constants
 
O_NOCTTY - Static variable in class io.apigee.trireme.core.modules.Constants
 
O_NOFOLLOW - Static variable in class io.apigee.trireme.core.modules.Constants
 
O_RDONLY - Static variable in class io.apigee.trireme.core.modules.Constants
 
O_RDWR - Static variable in class io.apigee.trireme.core.modules.Constants
 
O_SYNC - Static variable in class io.apigee.trireme.core.modules.Constants
 
O_TRUNC - Static variable in class io.apigee.trireme.core.modules.Constants
 
O_WRONLY - Static variable in class io.apigee.trireme.core.modules.Constants
 
objArg(Object[], int, Class<T>, boolean) - Static method in class io.apigee.trireme.core.ArgUtils
Deprecated.
objArg(Context, Scriptable, Object[], int, Class<T>, boolean) - Static method in class io.apigee.trireme.core.ArgUtils
Return the argument at "pos" as a member of the specified Java class, and throw an exception if "required" and the list is too short.
observeInstructionCount(Context, int) - Method in class io.apigee.trireme.core.internal.RhinoContextFactory
Rhino will call this every "instruction observer threshold" bytecode instructions.
octalOrHexIntArg(Object[], int) - Static method in class io.apigee.trireme.core.ArgUtils
Return the argument at "pos" as an int, or throw an exception if the argument list is not long enough.
octalOrHexIntArg(Object[], int, int) - Static method in class io.apigee.trireme.core.ArgUtils
Return the argument at "pos" as an int, or return "def" if the argument list is not long enough.
OK - Static variable in class io.apigee.trireme.core.ScriptStatus
 
OK_CODE - Static variable in class io.apigee.trireme.core.ScriptStatus
 
onClose(HttpRequestAdapter, HttpResponseAdapter) - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
onClose(HttpRequestAdapter, HttpResponseAdapter) - Method in interface io.apigee.trireme.net.spi.HttpServerStub
This method is called when the server is finally shut down.
onComplete(NodeScript, ScriptStatus) - Method in interface io.apigee.trireme.core.ScriptStatusListener
 
onConnection() - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
onConnection() - Method in interface io.apigee.trireme.net.spi.HttpServerStub
This method is called on each new network connection.
onData(HttpRequestAdapter, HttpResponseAdapter, HttpDataAdapter) - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
onData(HttpRequestAdapter, HttpResponseAdapter, HttpDataAdapter) - Method in interface io.apigee.trireme.net.spi.HttpServerStub
This method is called on each chunk of additional data.
onError(String) - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
onError(String, Throwable) - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
onError(String) - Method in interface io.apigee.trireme.net.spi.HttpServerStub
This method is called on an error.
onError(String, Throwable) - Method in interface io.apigee.trireme.net.spi.HttpServerStub
 
onRequest(HttpRequestAdapter, HttpResponseAdapter) - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
onRequest(HttpRequestAdapter, HttpResponseAdapter) - Method in interface io.apigee.trireme.net.spi.HttpServerStub
This method is called on each new HTTP request.
onUpgrade(HttpRequestAdapter, UpgradedSocket) - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
onUpgrade(HttpRequestAdapter, UpgradedSocket) - Method in interface io.apigee.trireme.net.spi.HttpServerStub
The adapter should call this method if it detects that an "upgrade" request was made by the client.
OS - Class in io.apigee.trireme.core.modules
 
OS() - Constructor for class io.apigee.trireme.core.modules.OS
 
OS.OSImpl - Class in io.apigee.trireme.core.modules
 
OS.OSImpl() - Constructor for class io.apigee.trireme.core.modules.OS.OSImpl
 

P

parse(Context, Scriptable, X509Certificate) - Method in class io.apigee.trireme.core.internal.CertificateParser
 
parseUnsignedIntForgiveably(Object) - Static method in class io.apigee.trireme.core.ArgUtils
Some Node code expects us to be very forgiving with integers.
parseWithStrings(Context, Scriptable, X509Certificate) - Method in class io.apigee.trireme.core.internal.CertificateParser
 
pause() - Method in class io.apigee.trireme.core.modules.HTTPWrap.RequestAdapter
adapterhttp.js calls this method when the "push" method on the request stream returns "false" to indicate that the queue is too large.
pause() - Method in interface io.apigee.trireme.net.spi.HttpRequestAdapter
Handle a request from "http.js" to pause the flow of data to this HTTP request.
pause() - Method in class io.apigee.trireme.net.spi.PauseHelper
Handle a pause coming in from Node.js code.
PauseHelper - Class in io.apigee.trireme.net.spi
This class manages pause-resume behavior for large HTTP requests.
PauseHelper(PauseHelper.FlowControl, int) - Constructor for class io.apigee.trireme.net.spi.PauseHelper
 
PauseHelper.FlowControl - Interface in io.apigee.trireme.net.spi
 
PBKDF2(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.Crypto.CryptoImpl
 
pin() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
POOL_QUEUE_SIZE - Static variable in class io.apigee.trireme.core.NodeEnvironment
 
POOL_TIMEOUT_SECS - Static variable in class io.apigee.trireme.core.NodeEnvironment
 
prime - Variable in class io.apigee.trireme.core.modules.crypto.AbstractDH
 
printEval - Variable in class io.apigee.trireme.core.internal.AbstractProcess
 
privKey - Variable in class io.apigee.trireme.core.modules.crypto.AbstractDH
 
process - Variable in class io.apigee.trireme.core.internal.ScriptRunner
 
ProcessEnvironment - Class in io.apigee.trireme.core.internal
This class contains the current environment variables.
ProcessEnvironment() - Constructor for class io.apigee.trireme.core.internal.ProcessEnvironment
 
processImmediateTasks(Context) - Method in class io.apigee.trireme.core.internal.AbstractProcess
Handle all tasks registered by "setImmediate"
ProcessManager - Class in io.apigee.trireme.core.internal
This is a global process table for all Noderunner processes in the same JVM.
processTickTasks(Context) - Method in class io.apigee.trireme.core.internal.AbstractProcess
Process tasks scheduled by "nextTick".
prototypeCall(int, Context, Scriptable, Object[]) - Method in class io.apigee.trireme.core.internal.AbstractIdObject
Subclasses may override this method to implement a prototype function.
prototypeCall(int, Context, Scriptable, Object[]) - Method in class io.apigee.trireme.core.modules.Buffer.BufferImpl
 
pseudoRandomBytes(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.Crypto.CryptoImpl
 
pubKey - Variable in class io.apigee.trireme.core.modules.crypto.AbstractDH
 
put(String, Scriptable, Object) - Method in class io.apigee.trireme.core.internal.ProcessEnvironment
 
put(int, Scriptable, Object) - Method in class io.apigee.trireme.core.modules.Buffer.BufferImpl
 
putCachedScript(String, Script) - Method in interface io.apigee.trireme.core.ClassCache
Store the compiled script in the cache.
putCachedScript(String, Script) - Method in class io.apigee.trireme.core.internal.SoftClassCache
 
putCompiledModule(String, Script) - Method in class io.apigee.trireme.core.internal.AbstractModuleRegistry
 
putCompiledModule(String, Script) - Method in class io.apigee.trireme.core.internal.ChildModuleRegistry
 
putCompiledModule(String, Script) - Method in class io.apigee.trireme.core.internal.RootModuleRegistry
 
putInternalModule(String, InternalNodeModule) - Method in class io.apigee.trireme.core.internal.AbstractModuleRegistry
 
putInternalModule(String, InternalNodeModule) - Method in class io.apigee.trireme.core.internal.ChildModuleRegistry
 
putInternalModule(String, InternalNodeModule) - Method in class io.apigee.trireme.core.internal.RootModuleRegistry
 
putNativeModule(String, NativeNodeModule) - Method in class io.apigee.trireme.core.internal.AbstractModuleRegistry
 
putNativeModule(String, NativeNodeModule) - Method in class io.apigee.trireme.core.internal.ChildModuleRegistry
 
putNativeModule(String, NativeNodeModule) - Method in class io.apigee.trireme.core.internal.RootModuleRegistry
 
putRegularModule(String, NodeModule) - Method in class io.apigee.trireme.core.internal.AbstractModuleRegistry
 
putRegularModule(String, NodeModule) - Method in class io.apigee.trireme.core.internal.ChildModuleRegistry
 
putRegularModule(String, NodeModule) - Method in class io.apigee.trireme.core.internal.RootModuleRegistry
 

R

randomBytes(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.Crypto.CryptoImpl
 
readComplete(int, ByteBuffer, SocketAddress) - Method in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
readFile(File) - Static method in class io.apigee.trireme.core.Utils
Read an entire file into a single string, and interpret it as UTF-8.
readStream(InputStream) - Static method in class io.apigee.trireme.core.Utils
Read an entire input stream into a single string, and interpret it as UTF-8.
reasonToText(NodeExitException.Reason) - Static method in exception io.apigee.trireme.core.internal.NodeExitException
 
recvStart() - Method in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
recvStop() - Method in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
ref() - Method in class io.apigee.trireme.core.modules.Referenceable
Clear the state set by unref and pin the script if one had been previously requested.
Referenceable - Class in io.apigee.trireme.core.modules
This is a superclass used by many internal modules to manage "pin" and "unpin" behavior.
Referenceable() - Constructor for class io.apigee.trireme.core.modules.Referenceable
 
registerCloseable(Closeable) - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
registerExports(Context, Scriptable, NodeRuntime) - Method in class io.apigee.trireme.core.modules.Buffer
 
registerExports(Context, Scriptable, NodeRuntime) - Method in class io.apigee.trireme.core.modules.Constants
Register integer constants that are required by lots of node code -- mainly OS-level stuff.
registerExports(Context, Scriptable, NodeRuntime) - Method in class io.apigee.trireme.core.modules.Crypto
 
registerExports(Context, Scriptable, NodeRuntime) - Method in class io.apigee.trireme.core.modules.Evals
 
registerExports(Context, Scriptable, NodeRuntime) - Method in class io.apigee.trireme.core.modules.HTTPWrap
 
registerExports(Context, Scriptable, NodeRuntime) - Method in class io.apigee.trireme.core.modules.ModuleLoader
 
registerExports(Context, Scriptable, NodeRuntime) - Method in class io.apigee.trireme.core.modules.NativeModule
 
registerExports(Context, Scriptable, NodeRuntime) - Method in class io.apigee.trireme.core.modules.Natives
 
registerExports(Context, Scriptable, NodeRuntime) - Method in class io.apigee.trireme.core.modules.OS
 
registerExports(Context, Scriptable, NodeRuntime) - Method in class io.apigee.trireme.core.modules.TriremeNativeSupport
 
registerExports(Context, Scriptable, NodeRuntime) - Method in class io.apigee.trireme.core.modules.UDPWrap
 
registerExports(Context, Scriptable, NodeRuntime) - Method in interface io.apigee.trireme.core.NodeModule
This is the Java equivalent of a Node module.
removeHeader(String) - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
 
removeProcess(int) - Method in class io.apigee.trireme.core.internal.ProcessManager
 
repeating - Variable in class io.apigee.trireme.core.internal.ScriptRunner.Activity
 
requestPin() - Method in class io.apigee.trireme.core.modules.Referenceable
Set a flag requesting that we pin the script if it was not already pinned or unrefed.
require(String, Context) - Method in class io.apigee.trireme.core.internal.ScriptRunner
This is used internally when one native module depends on another.
require(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.NativeModule.NativeImpl
 
require(String, Context) - Method in interface io.apigee.trireme.core.NodeRuntime
Just like "require" in the regular "module" code, it returns the export object for the named module.
requireInternal(String, Context) - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
resume() - Method in class io.apigee.trireme.core.modules.HTTPWrap.RequestAdapter
adapterhttp.js calls this method when _read is called and we had previously paused.
resume() - Method in interface io.apigee.trireme.net.spi.HttpRequestAdapter
Handle a request from "http.js" to resume the flow of data that was previously paused.
resume() - Method in class io.apigee.trireme.net.spi.PauseHelper
 
reverseTranslatePath(String) - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
reverseTranslatePath(String) - Method in interface io.apigee.trireme.core.NodeRuntime
Given a file path, return what the path would be within the Node environment.
RhinoContextFactory - Class in io.apigee.trireme.core.internal
 
RhinoContextFactory() - Constructor for class io.apigee.trireme.core.internal.RhinoContextFactory
 
RootModuleRegistry - Class in io.apigee.trireme.core.internal
 
RootModuleRegistry(NodeImplementation) - Constructor for class io.apigee.trireme.core.internal.RootModuleRegistry
 
run(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.Evals.NodeScriptImpl
Used by vm.js -- run something that was previously compiled using "compile".
run() - Method in class io.apigee.trireme.core.ScriptFuture
 
runInNewContext(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.Evals.NodeScriptImpl
Used by module.js -- compile and run in the specified context.
runInThisContext(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.Evals.NodeScriptImpl
Used by module.js -- compile and run in the current context.
runner - Variable in class io.apigee.trireme.core.internal.AbstractProcess
 
RUNNER - Static variable in class io.apigee.trireme.core.internal.ScriptRunner
 
runScript(Context) - Method in class io.apigee.trireme.core.internal.ScriptRunner
 

S

S_IFBLK - Static variable in class io.apigee.trireme.core.modules.Constants
 
S_IFCHR - Static variable in class io.apigee.trireme.core.modules.Constants
 
S_IFDIR - Static variable in class io.apigee.trireme.core.modules.Constants
 
S_IFIFO - Static variable in class io.apigee.trireme.core.modules.Constants
 
S_IFLNK - Static variable in class io.apigee.trireme.core.modules.Constants
 
S_IFMT - Static variable in class io.apigee.trireme.core.modules.Constants
 
S_IFREG - Static variable in class io.apigee.trireme.core.modules.Constants
 
S_IFSOCK - Static variable in class io.apigee.trireme.core.modules.Constants
 
S_IRGRP - Static variable in class io.apigee.trireme.core.modules.Constants
 
S_IROTH - Static variable in class io.apigee.trireme.core.modules.Constants
 
S_IRUSR - Static variable in class io.apigee.trireme.core.modules.Constants
 
S_IWGRP - Static variable in class io.apigee.trireme.core.modules.Constants
 
S_IWOTH - Static variable in class io.apigee.trireme.core.modules.Constants
 
S_IWUSR - Static variable in class io.apigee.trireme.core.modules.Constants
 
S_IXGRP - Static variable in class io.apigee.trireme.core.modules.Constants
 
S_IXOTH - Static variable in class io.apigee.trireme.core.modules.Constants
 
S_IXUSR - Static variable in class io.apigee.trireme.core.modules.Constants
 
Sandbox - Class in io.apigee.trireme.core
The Sandbox defines the execution environment for all scripts.
Sandbox() - Constructor for class io.apigee.trireme.core.Sandbox
Create a new sandbox that will not affect anything in any way.
Sandbox(Sandbox) - Constructor for class io.apigee.trireme.core.Sandbox
Create a new sandbox that will copy the parameters from a parent.
Sandbox.ClassLoaderSupplier - Interface in io.apigee.trireme.core
A Supplier that returns an instance of a ClassLoader to be used for loading Java classes into the currently-running script.
SCRIPT_SUFFIX - Static variable in class io.apigee.trireme.core.modules.NativeModule
 
ScriptCancelledException - Exception in io.apigee.trireme.core
 
ScriptCancelledException() - Constructor for exception io.apigee.trireme.core.ScriptCancelledException
 
ScriptFuture - Class in io.apigee.trireme.core
 
ScriptRunner - Class in io.apigee.trireme.core.internal
This class actually runs the script.
ScriptRunner(NodeScript, NodeEnvironment, Sandbox, File, String[]) - Constructor for class io.apigee.trireme.core.internal.ScriptRunner
 
ScriptRunner(NodeScript, NodeEnvironment, Sandbox, String, String, String[]) - Constructor for class io.apigee.trireme.core.internal.ScriptRunner
 
ScriptRunner(NodeScript, NodeEnvironment, Sandbox, String[], boolean) - Constructor for class io.apigee.trireme.core.internal.ScriptRunner
 
ScriptRunner.Activity - Class in io.apigee.trireme.core.internal
 
ScriptRunner.Activity() - Constructor for class io.apigee.trireme.core.internal.ScriptRunner.Activity
 
ScriptStatus - Class in io.apigee.trireme.core
This object is returned from the execution of a script, and indicates successful or failed completion.
ScriptStatus(int) - Constructor for class io.apigee.trireme.core.ScriptStatus
 
ScriptStatus(Throwable) - Constructor for class io.apigee.trireme.core.ScriptStatus
 
ScriptStatusListener - Interface in io.apigee.trireme.core
 
ScriptTask - Interface in io.apigee.trireme.core
Code that runs outside the main Node thread can send tasks to a script by sending these types of objects.
ScriptUtils - Class in io.apigee.trireme.core.internal
Utilities for handling compiled scripts and backing off gracefully when they are too large for Rhino to handle.
ScriptUtils() - Constructor for class io.apigee.trireme.core.internal.ScriptUtils
 
SecureContextImpl - Class in io.apigee.trireme.core.modules.crypto
 
SecureContextImpl() - Constructor for class io.apigee.trireme.core.modules.crypto.SecureContextImpl
 
send(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.HTTPWrap.ResponseAdapter
 
send(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
send(boolean, IOCompletionHandler<Integer>) - Method in interface io.apigee.trireme.net.spi.HttpResponseAdapter
Send the headers, and optionally the data if the data was already set on this object.
send6(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
sendChunk(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.HTTPWrap.ResponseAdapter
 
sendChunk(ByteBuffer, boolean, IOCompletionHandler<Integer>) - Method in interface io.apigee.trireme.net.spi.HttpResponseAdapter
Send just a chunk of data.
setAllowJarLoading(boolean) - Method in class io.apigee.trireme.core.Sandbox
Allow the use of the "trireme-support" module's "loadJars" method to load JAR files into the currently-running script.
setArgv(String[]) - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
setAsyncThreadPool(ExecutorService) - Method in class io.apigee.trireme.core.Sandbox
Set the Executor where any jobs can be run that require a separate thread pool.
setAttachment(Object) - Method in class io.apigee.trireme.core.NodeScript
Retrieve whatever was set by getAttachment.
setAutoPadding(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.CipherImpl
 
setAutoPadding(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.DecipherImpl
 
setBroadcast(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
setCancelled(boolean) - Method in class io.apigee.trireme.core.internal.ScriptRunner.Activity
 
setCause(Throwable) - Method in class io.apigee.trireme.core.ScriptStatus
 
setCert(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
Set the server's certificate from a PEM file.
setCiphers(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
 
setCiphers(String[]) - Method in class io.apigee.trireme.net.spi.TLSParams
 
setClassCache(ClassCache) - Method in class io.apigee.trireme.core.NodeEnvironment
Set a cache that may be used to store compiled JavaScript classes.
setClassLoaderSupplier(Sandbox.ClassLoaderSupplier) - Method in class io.apigee.trireme.core.Sandbox
Allows specifying the Supplier that will return an instance of a ClassLoader that will be used by the "trireme-support" module's "loadJars" method to load JAR files into the currently-running script.
setClientAttachment(Object) - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
The caller may also attach an object here that will be set on the "request" object in Java as the "attachment" field.
setClientAuthRequested(boolean) - Method in class io.apigee.trireme.net.spi.TLSParams
 
setClientAuthRequired(boolean) - Method in class io.apigee.trireme.net.spi.TLSParams
 
setConnected(boolean) - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
setContext(SSLContext) - Method in class io.apigee.trireme.net.spi.TLSParams
 
setCountOperations(boolean) - Method in class io.apigee.trireme.core.internal.RhinoContextFactory
 
setData(ByteBuffer) - Method in interface io.apigee.trireme.net.spi.HttpDataAdapter
 
setData(ByteBuffer) - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
 
setDefaultClassCache() - Method in class io.apigee.trireme.core.NodeEnvironment
Create a default instance of the class cache using an internal implementation.
setDefaultNodeVersion(String) - Method in class io.apigee.trireme.core.NodeEnvironment
Override the default version.
setDefaultTimeout(long, TimeUnit, int, String, String) - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
setDefaultTimeout(long, TimeUnit, int, String, String) - Method in interface io.apigee.trireme.net.spi.HttpServerStub
Set a default timeout that will be used for all HTTP requests unless overridden.
setDHParam(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
 
setDisplayName(String) - Method in class io.apigee.trireme.core.NodeScript
Set a name that is used in diagnostics information from the script.
setDomain(Object) - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
setDomain(Scriptable) - Method in class io.apigee.trireme.core.internal.ScriptRunner.Activity
 
setECDHCurve(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
 
setEnv(ProcessEnvironment) - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
setEnvironment(Map<String, String>) - Method in class io.apigee.trireme.core.NodeScript
Replace the current set of environment variables for the script with the specified set.
setErrno(String) - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
setErrno(int) - Static method in class io.apigee.trireme.core.modules.Referenceable
 
setErrno(String) - Static method in class io.apigee.trireme.core.modules.Referenceable
 
setEval(String) - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
setExecArgv(List<String>) - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
setExiting(boolean) - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
setExports(Scriptable) - Method in class io.apigee.trireme.core.modules.NativeModule.ModuleImpl
 
setExports(Scriptable) - Method in class io.apigee.trireme.core.modules.NativeModule.NativeImpl
 
setExtraClassShutter(ClassShutter) - Method in class io.apigee.trireme.core.internal.RhinoContextFactory
 
setExtraClassShutter(ClassShutter) - Method in class io.apigee.trireme.core.Sandbox
Attach an extra ClassShutter that can allow Trireme embedders the ability to expose extra Java classes to JavaScript code.
setFileName(String) - Method in class io.apigee.trireme.core.modules.NativeModule.ModuleImpl
 
setFilesystemRoot(String) - Method in class io.apigee.trireme.core.Sandbox
Provide a "chroot"-like facility so that all filenames used by the "fs" module (not all files used internally by NodeRunner) must be treated as if the "root" is in a different location.
setForceRepl(boolean) - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
setFuture(ScriptFuture) - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
setHandshakeDone(Function) - Method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
setHandshakeStart(Function) - Method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
setHeader(String, List<String>) - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
Replace all existing headers with this one.
setHideOSDetails(boolean) - Method in class io.apigee.trireme.core.Sandbox
If set to true, hide the internal details returned by the "OS" package.
setHttpContainer(HttpServerContainer) - Method in class io.apigee.trireme.core.NodeEnvironment
Replace the default HTTP implementation with a custom implementation.
setId(String) - Method in class io.apigee.trireme.core.modules.NativeModule.ModuleImpl
 
setInterval(long) - Method in class io.apigee.trireme.core.internal.ScriptRunner.Activity
 
setJsVersion(int) - Method in class io.apigee.trireme.core.internal.RhinoContextFactory
 
setKeepAlive(boolean) - Method in class io.apigee.trireme.net.internal.AdapterHandleDelegate
 
setKeepAlive(boolean) - Method in class io.apigee.trireme.net.internal.UpgradedSocketDelegate
 
setKey(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
Read an RSA key pair from the PEM File.
setKeyStore(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
Specify an explicit Java key store, as a file name.
setLastChunk(boolean) - Method in interface io.apigee.trireme.net.spi.HttpDataAdapter
 
setListener(ScriptStatusListener) - Method in class io.apigee.trireme.core.ScriptFuture
 
setLoaded(boolean) - Method in class io.apigee.trireme.core.modules.NativeModule.ModuleImpl
 
setMakeRequest(Function) - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
setMakeResponse(Function) - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
setMakeSocket(Function) - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
setMaxAsyncPoolSize(int) - Method in class io.apigee.trireme.core.NodeEnvironment
Set the maximum thread pool size of the "async pool," which will be used for running short-duration blocking tasks like file I/O, DNS lookups, and some TLS operations.
setMethod(String) - Method in interface io.apigee.trireme.net.spi.HttpRequestAdapter
 
setModuleResult(Scriptable) - Method in class io.apigee.trireme.core.ScriptFuture
 
setMulticastLoopback(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
setMulticastTTL(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
setNetworkPolicy(NetworkPolicy) - Method in class io.apigee.trireme.core.Sandbox
Attach an object that will be called every time the process tries to open an outgoing network connection or listen for incoming connections.
setNoDelay(boolean) - Method in class io.apigee.trireme.net.internal.AdapterHandleDelegate
 
setNoDelay(boolean) - Method in class io.apigee.trireme.net.internal.UpgradedSocketDelegate
 
setNodeVersion(String) - Method in class io.apigee.trireme.core.NodeScript
Specify which version of the Node.js runtime to select for this script.
setOnChannelClosed(Function) - Method in class io.apigee.trireme.core.modules.HTTPWrap.ResponseAdapter
 
setOnClose(Function) - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
setOnComplete(Function) - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
setOnComplete(Function) - Method in class io.apigee.trireme.core.modules.UDPWrap.QueuedWrite
 
setOnData(Function) - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
setOnError(Function) - Method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
setOnHeaders(Function) - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
setOnMessage(Function) - Method in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
setOnUnwrap(Function) - Method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
setOnUpgrade(Function) - Method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
 
setOnWrap(Function) - Method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
setOnWriteComplete(Function) - Method in class io.apigee.trireme.core.modules.HTTPWrap.ResponseAdapter
 
setOptions(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
 
setOptLevel(int) - Method in class io.apigee.trireme.core.internal.RhinoContextFactory
 
setOptLevel(int) - Method in class io.apigee.trireme.core.NodeEnvironment
Set the Rhino optimization level for all new scripts that are run.
setParentProcess(TriremeProcess) - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
setPath(String) - Method in exception io.apigee.trireme.core.internal.NodeOSException
 
setPinned(boolean) - Method in class io.apigee.trireme.core.NodeScript
Pin the script before running it -- this ensures that the script will never exit unless process.exit is called or the future is explicitly cancelled.
setPrintEval(boolean) - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
setPrintEval(boolean) - Method in class io.apigee.trireme.core.NodeScript
If the script was passed as a string when the script was created, print the result at the end.
setPrivateKey(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.DHImpl
 
setPublicKey(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.DHImpl
 
setRegistry(AbstractModuleRegistry) - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
setRepeating(boolean) - Method in class io.apigee.trireme.core.internal.ScriptRunner.Activity
 
setRunner(NodeRuntime) - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
setSandbox(Sandbox) - Method in class io.apigee.trireme.core.NodeEnvironment
Set up a restricted environment.
setSandbox(Sandbox) - Method in class io.apigee.trireme.core.NodeScript
Set up a restricted environment.
setScriptObject(Scriptable) - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
The JavaScript "request" or "response" object is attached here.
setScriptTimeLimit(long, TimeUnit) - Method in class io.apigee.trireme.core.NodeEnvironment
Set the maximum amount of time that any one "tick" of this script is allowed to execute before an exception is raised and the script exits.
setSealRoot(boolean) - Method in class io.apigee.trireme.core.NodeEnvironment
Deprecated.
setSession(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
setSessionIdContext(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
 
setSslContext(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.HTTPWrap.ServerContainer
This will be called by the "adaptorhttps" module, which in turn uses our own "tls" module to create an SSL context that obeys all the various rules of Node.js.
setStatusCode(int) - Method in interface io.apigee.trireme.net.spi.HttpResponseAdapter
 
setStderr(OutputStream) - Method in class io.apigee.trireme.core.Sandbox
Set the stream that scripts should use for standard error output.
setStdin(InputStream) - Method in class io.apigee.trireme.core.Sandbox
Set the stream that scripts should use for standard input.
setStdout(OutputStream) - Method in class io.apigee.trireme.core.Sandbox
Set the stream that scripts should use for standard output.
setSubprocessPolicy(SubprocessPolicy) - Method in class io.apigee.trireme.core.Sandbox
Attach an object that will be called every time the process tries to invoke a sub process, including "node" itself.
setTimeout(long) - Method in class io.apigee.trireme.core.internal.ScriptRunner.Activity
 
setTrailer(String, String) - Method in interface io.apigee.trireme.net.spi.HttpResponseAdapter
Add a trailer -- only valid on a chunked message and sent on the last chunk.
setTrustStore(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.SecureContextImpl
Specify an explicit Java trust store, as a file name.
setTTL(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
setUrl(String) - Method in interface io.apigee.trireme.net.spi.HttpRequestAdapter
 
setVersion(String, int, int) - Method in interface io.apigee.trireme.net.spi.HttpMessageAdapter
 
setWorkingDirectory(String) - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
setWorkingDirectory(String) - Method in class io.apigee.trireme.core.NodeScript
Specify the working directory for this script.
setWorkingDirectory(String) - Method in class io.apigee.trireme.core.Sandbox
Set the working directory of this script.
shutdown(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
shutdown(IOCompletionHandler<Integer>) - Method in class io.apigee.trireme.net.internal.AdapterHandleDelegate
 
shutdown(IOCompletionHandler<Integer>) - Method in class io.apigee.trireme.net.internal.UpgradedSocketDelegate
 
shutdownInbound(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
shutdownOutput(IOCompletionHandler<Integer>) - Method in interface io.apigee.trireme.net.spi.UpgradedSocket
Send a "shutdown" to shutdown output onthe socket without closing it.
SIGHUP - Static variable in class io.apigee.trireme.core.modules.Constants
 
SIGINT - Static variable in class io.apigee.trireme.core.modules.Constants
 
SIGKILL - Static variable in class io.apigee.trireme.core.modules.Constants
 
sign(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.SignImpl
 
SignImpl - Class in io.apigee.trireme.core.modules.crypto
 
SignImpl() - Constructor for class io.apigee.trireme.core.modules.crypto.SignImpl
 
SIGQUIT - Static variable in class io.apigee.trireme.core.modules.Constants
 
SIGTERM - Static variable in class io.apigee.trireme.core.modules.Constants
 
SoftClassCache - Class in io.apigee.trireme.core.internal
 
SoftClassCache() - Constructor for class io.apigee.trireme.core.internal.SoftClassCache
 
SSL_VERSION - Static variable in class io.apigee.trireme.core.internal.Version
 
start(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
Initialize the client side of an SSL conversation by pushing an artificial write record on the queue.
startReading(IOCompletionHandler<ByteBuffer>) - Method in class io.apigee.trireme.net.internal.AdapterHandleDelegate
 
startReading(IOCompletionHandler<ByteBuffer>) - Method in class io.apigee.trireme.net.internal.UpgradedSocketDelegate
 
startReading(IOCompletionHandler<ByteBuffer>) - Method in interface io.apigee.trireme.net.spi.UpgradedSocket
Start reading by delivering data to the handler.
startTime - Variable in class io.apigee.trireme.core.internal.AbstractProcess
 
stopReading() - Method in class io.apigee.trireme.net.internal.AdapterHandleDelegate
 
stopReading() - Method in class io.apigee.trireme.net.internal.UpgradedSocketDelegate
 
stopReading() - Method in interface io.apigee.trireme.net.spi.UpgradedSocket
Stop reading data from the socket for flow-control purposes.
stringArg(Object[], int) - Static method in class io.apigee.trireme.core.ArgUtils
Return the argument at "pos" as a String, or throw an exception if the argument list is not long enough.
stringArg(Object[], int, String) - Static method in class io.apigee.trireme.core.ArgUtils
Return the argument at "pos" as a String, or return "def" if the argument list is not long enough.
stringToBuffer(String, Charset) - Static method in class io.apigee.trireme.core.Utils
Using a CharsetEncoder, translate a string to a ByteBuffer, allocating a new buffer as necessary.
submitTick(Context, Object[], Function, Scriptable, Object) - Method in class io.apigee.trireme.core.internal.AbstractProcess
Immediately and synchronously invoke the specified function and arguments.
SubprocessPolicy - Interface in io.apigee.trireme.core
 
SUPPORTED_ALGORITHMS - Static variable in class io.apigee.trireme.core.modules.crypto.HashImpl
 
suspend() - Method in interface io.apigee.trireme.net.spi.HttpServerAdapter
Don't close the socket, but stop accepting new connections

T

terminate(String) - Method in interface io.apigee.trireme.core.internal.GenericProcess
 
timeout - Variable in class io.apigee.trireme.core.internal.ScriptRunner.Activity
 
TIMEOUT_CODE - Static variable in class io.apigee.trireme.core.ScriptStatus
 
TIMEOUT_TIMESTAMP_KEY - Static variable in class io.apigee.trireme.core.internal.ScriptRunner
 
TLSParams - Class in io.apigee.trireme.net.spi
 
TLSParams() - Constructor for class io.apigee.trireme.net.spi.TLSParams
 
toInt(Object) - Static method in class io.apigee.trireme.core.ArgUtils
Turn an object into an integer if we can.
toString() - Method in class io.apigee.trireme.core.internal.SoftClassCache
 
toStringList(Scriptable) - Static method in class io.apigee.trireme.core.Utils
Convert each value in the JavaScript object to a string array element.
translatePath(String) - Method in class io.apigee.trireme.core.internal.ScriptRunner
Translate a path based on the root.
translatePath(String) - Method in interface io.apigee.trireme.core.NodeRuntime
Given a file path, return a File object that represents the actual file to open.
TRIREME_VERSION - Static variable in class io.apigee.trireme.core.internal.Version
 
TriremeNativeSupport - Class in io.apigee.trireme.core.modules
 
TriremeNativeSupport() - Constructor for class io.apigee.trireme.core.modules.TriremeNativeSupport
 
TriremeNativeSupport.NativeSupportImpl - Class in io.apigee.trireme.core.modules
 
TriremeNativeSupport.NativeSupportImpl() - Constructor for class io.apigee.trireme.core.modules.TriremeNativeSupport.NativeSupportImpl
 
TriremeProcess - Interface in io.apigee.trireme.core.internal
This interface is implemented by modules that launch sub-processes of the main Trireme process that can communicate via IPC.
tryCompile(Context, String, String) - Static method in class io.apigee.trireme.core.internal.ScriptUtils
Try to compile the script, and return null if the script is too large.

U

UDPWrap - Class in io.apigee.trireme.core.modules
 
UDPWrap() - Constructor for class io.apigee.trireme.core.modules.UDPWrap
 
UDPWrap.QueuedWrite - Class in io.apigee.trireme.core.modules
 
UDPWrap.QueuedWrite() - Constructor for class io.apigee.trireme.core.modules.UDPWrap.QueuedWrite
 
UDPWrap.UDPImpl - Class in io.apigee.trireme.core.modules
 
UDPWrap.UDPImpl() - Constructor for class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 
umask - Variable in class io.apigee.trireme.core.internal.AbstractProcess
 
umask(Object[]) - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
unPin() - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
unquote(String) - Static method in class io.apigee.trireme.core.Utils
Remove leading and trailing strings from a quoted string that has both leading and trailing quotes on it.
unref() - Method in class io.apigee.trireme.core.modules.Referenceable
Set a flag preventing this object from ever pinning the script even if a pin was requested and un-pin if it ever was.
unregisterCloseable(Closeable) - Method in class io.apigee.trireme.core.internal.ScriptRunner
 
unwrap(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
update(Context, Object[]) - Method in class io.apigee.trireme.core.modules.crypto.AbstractCipherImpl
 
update(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.CipherImpl
 
update(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.DecipherImpl
 
update(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.HashImpl
 
update(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.MacImpl
 
update(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.SignImpl
 
update(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.VerifyImpl
 
UpgradedSocket - Interface in io.apigee.trireme.net.spi
This interface must be implemented by servers that wish to support the "upgrade" option to HTTP.
UpgradedSocketDelegate - Class in io.apigee.trireme.net.internal
This class mediates between the HTTP adapters "UpgradedSocket" interface and the "Handle" interface that is used to implement network sockets in Trireme.
UpgradedSocketDelegate(UpgradedSocket, NodeRuntime, HttpRequestAdapter) - Constructor for class io.apigee.trireme.net.internal.UpgradedSocketDelegate
 
uptime() - Method in class io.apigee.trireme.core.internal.AbstractProcess
 
Utils - Class in io.apigee.trireme.core
A few utility functions, mainly for Rhino, that are useful when writing Node modules in Java.
Utils() - Constructor for class io.apigee.trireme.core.Utils
 

V

valueOf(String) - Static method in enum io.apigee.trireme.core.internal.AbstractModuleRegistry.ModuleType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.apigee.trireme.core.internal.NodeExitException.Reason
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.apigee.trireme.core.internal.AbstractModuleRegistry.ModuleType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.apigee.trireme.core.internal.NodeExitException.Reason
Returns an array containing the constants of this enum type, in the order they are declared.
verify(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.VerifyImpl
 
verifyError(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
VerifyImpl - Class in io.apigee.trireme.core.modules.crypto
 
VerifyImpl() - Constructor for class io.apigee.trireme.core.modules.crypto.VerifyImpl
 
Version - Class in io.apigee.trireme.core.internal
 
Version() - Constructor for class io.apigee.trireme.core.internal.Version
 

W

wrap(Context, Scriptable, Object[], Function) - Static method in class io.apigee.trireme.core.modules.crypto.ConnectionImpl
 
wrap(String) - Static method in class io.apigee.trireme.core.modules.NativeModule.NativeImpl
 
WRAP_POSTFIX - Static variable in class io.apigee.trireme.core.modules.NativeModule.NativeImpl
 
WRAP_PREFIX - Static variable in class io.apigee.trireme.core.modules.NativeModule.NativeImpl
 
write(ByteBuffer, IOCompletionHandler<Integer>) - Method in class io.apigee.trireme.net.internal.UpgradedSocketDelegate
 
write(ByteBuffer, IOCompletionHandler<Integer>) - Method in interface io.apigee.trireme.net.spi.UpgradedSocket
Called to write data back to the socket.
writeComplete(int, UDPWrap.QueuedWrite) - Method in class io.apigee.trireme.core.modules.UDPWrap.UDPImpl
 

Z

zeroBuffer(ByteBuffer) - Static method in class io.apigee.trireme.core.Utils
Fill a ByteBuffer with zeros, useful if it has been used to store a password or something.

_

_getProcessObject() - Method in class io.apigee.trireme.core.NodeScript
An internal method to retrieve the "process" argument for sending events.
_getRuntime() - Method in class io.apigee.trireme.core.NodeScript
An internal method to get the runtime for this script.
_isChildProcess() - Method in class io.apigee.trireme.core.NodeScript
 
_setChildProcess(boolean) - Method in class io.apigee.trireme.core.NodeScript
An internal method to denote that this script was spawned by another Trireme script.
_setParentProcess(TriremeProcess) - Method in class io.apigee.trireme.core.NodeScript
An internal method to identify the child process argument of the parent who forked this script.
A B C D E F G H I J K L M N O P R S T U V W Z _ 

Copyright © 2016 Apigee Corporation. All Rights Reserved.