com.android.python27.process
Class InterpreterProcess

java.lang.Object
  extended by com.android.python27.process.Process
      extended by com.android.python27.process.InterpreterProcess
Direct Known Subclasses:
PythonScriptProcess

public class InterpreterProcess
extends Process


Field Summary
 
Fields inherited from class com.android.python27.process.Process
context
 
Constructor Summary
InterpreterProcess(PyScriptService context, MyInterpreter myInterpreter, AndroidProxy paramAndroidProxy)
          Creates a new InterpreterProcess.
 
Method Summary
 java.lang.String getHost()
           
 Interpreter getInterpreter()
           
 int getPort()
           
 RpcReceiverManagerFactory getRpcReceiverManagerFactory()
           
 java.lang.String getSdcardPackageDirectory()
           
 java.lang.String getSecret()
           
 java.lang.String getWorkingDirectory()
           
 void kill()
           
 void start(java.lang.Runnable paramRunnable, java.util.List<java.lang.String> paramList)
           
 
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
 

Constructor Detail

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 interpreter
port - the port that the AndroidProxy is listening on
Method Detail

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