com.judoscript
Class RemoteJudoEngine

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by com.judoscript.RemoteJudoEngine
All Implemented Interfaces:
RemoteExecServer, java.io.Serializable, java.rmi.Remote

public class RemoteJudoEngine
extends java.rmi.server.UnicastRemoteObject
implements RemoteExecServer

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
RemoteJudoEngine(java.lang.String scriptBase)
           
 
Method Summary
 void exec(java.lang.String scriptName, java.lang.String[] args, RemoteReader stdin, RemotePrintWriter stdout, RemotePrintWriter stderr, RemotePrintWriter stdlog)
           
static void start(java.lang.String scriptBase, int port)
           
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteJudoEngine

public RemoteJudoEngine(java.lang.String scriptBase)
                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

exec

public void exec(java.lang.String scriptName,
                 java.lang.String[] args,
                 RemoteReader stdin,
                 RemotePrintWriter stdout,
                 RemotePrintWriter stderr,
                 RemotePrintWriter stdlog)
          throws java.rmi.RemoteException
Specified by:
exec in interface RemoteExecServer
Throws:
java.rmi.RemoteException

start

public static void start(java.lang.String scriptBase,
                         int port)