com.android.python27.process
Class InterpreterProcess
java.lang.Object
com.android.python27.process.Process
com.android.python27.process.InterpreterProcess
- Direct Known Subclasses:
- PythonScriptProcess
public class InterpreterProcess
- extends Process
| Fields inherited from class com.android.python27.process.Process |
context |
| Methods inherited from class com.android.python27.process.Process |
addAllArguments, addArgument, getErr, getFd, getIn, getLogFile, getName, getOut, getPid, getReturnValue, 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(PyScriptService context,
MyInterpreter myInterpreter,
AndroidProxy paramAndroidProxy)
- 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()
getSecret
public java.lang.String getSecret()
getWorkingDirectory
public java.lang.String getWorkingDirectory()
- Overrides:
getWorkingDirectory in class Process
getSdcardPackageDirectory
public java.lang.String getSdcardPackageDirectory()
- Overrides:
getSdcardPackageDirectory in class Process
getRpcReceiverManagerFactory
public RpcReceiverManagerFactory getRpcReceiverManagerFactory()
start
public void start(java.lang.Runnable paramRunnable,
java.util.List<java.lang.String> paramList)
kill
public void kill()
- Overrides:
kill in class Process