org.objectweb.carol.util.bootstrap

Class 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:
1.0, 15/07/2002

Author:
Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)

Field Summary

static String
HOST_LOCATION
proc host location
static int
PORT_NUMBER
proc rmi registry port (default 9090)

Method Summary

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

Field Details

HOST_LOCATION

public static String HOST_LOCATION
proc host location


PORT_NUMBER

public static int PORT_NUMBER
proc rmi registry port (default 9090)

Method Details

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

Parameters:


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