com.googlecode.android_scripting.interpreter
Class InterpreterProcess
java.lang.Object
com.googlecode.android_scripting.Process
com.googlecode.android_scripting.interpreter.InterpreterProcess
- Direct Known Subclasses:
- ScriptProcess
public class InterpreterProcess
- extends Process
This is a skeletal implementation of an interpreter process.
- Author:
- Damon Kohler (damonkohler@gmail.com)
| Methods inherited from class com.googlecode.android_scripting.Process |
addAllArguments, addArgument, getErr, getFd, getIn, getLogFile, getName, getOut, getPid, getUptime, isAlive, putAllEnvironmentVariables, putEnvironmentVariable, setBinary, setName |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterpreterProcess
public InterpreterProcess(Interpreter interpreter,
AndroidProxy proxy)
- Creates a new
InterpreterProcess.
- Parameters:
launchScript - the absolute path to a script that should be launched with the interpreterport - the port that the AndroidProxy is listening on
getInterpreter
public Interpreter getInterpreter()
getHost
public java.lang.String getHost()
getPort
public int getPort()
getAddress
public java.net.InetSocketAddress getAddress()
getSecret
public java.lang.String getSecret()
getRpcReceiverManagerFactory
public RpcReceiverManagerFactory getRpcReceiverManagerFactory()
start
public void start(java.lang.Runnable shutdownHook)
- Overrides:
start in class Process
kill
public void kill()
- Overrides:
kill in class Process
getWorkingDirectory
public java.lang.String getWorkingDirectory()
- Overrides:
getWorkingDirectory in class Process