org.objectweb.carol.util.bootstrap
Class RemoteShell
java.lang.Object
org.objectweb.carol.util.bootstrap.RemoteShell
public class RemoteShell
extends java.lang.Object
Class RemoteShell
Provide a RMI shell access to a RJVM daemon
For the moment it's a basic (but full) rjvm shell
Version:
- Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)
static void | copyFile(String line) - Copy a File (jar or ascii) to remote host in remote directory
|
static void | main(args[] ) - Main method, starting the RJVM Daemon
|
static void | printError(String line) - Print error put ouf the process
|
static void | printHelp(Options cmdLineOptions) - static print help method (thaks to Jef and the JOTM team)
|
static void | printHelpProcess()
|
static void | printOutput(String line) - Print output put ouf the process
|
static void | startCommandLine(String line)
|
static void | writeInput(String line) - Write an imput in the process
|
HOST_LOCATION
public static String HOST_LOCATION
proc host location
PORT_NUMBER
public static int PORT_NUMBER
proc rmi registry port (default 9090)
copyFile
public static void copyFile(String line)
throws Exception
Copy a File (jar or ascii) to remote host in remote directory
main
public static void main(args[] )
Main method, starting the RJVM Daemon
printError
public static void printError(String line)
throws Exception
Print error put ouf the process
printHelp
public static void printHelp(Options cmdLineOptions)
static print help method (thaks to Jef and the JOTM team)
printHelpProcess
public static void printHelpProcess()
printOutput
public static void printOutput(String line)
throws Exception
Print output put ouf the process
startCommandLine
public static void startCommandLine(String line)
writeInput
public static void writeInput(String line)
throws Exception
Write an imput in the process