Package org.apache.geronimo.gshell.remote.client.proxy

Examples of org.apache.geronimo.gshell.remote.client.proxy.RemoteShellProxy


        client.login(username, password);

        // client.echo("HELLO");
        // Thread.sleep(1 * 1000);

        RemoteShellProxy shell = new RemoteShellProxy(client, io, terminal);

        Object rv = SUCCESS;

        try {
            shell.run(command.toArray());
        }
        catch (ExitNotification n) {
            // Make sure that we catch this notification, so that our parent shell doesn't exit when the remote shell does
            rv = n.code;
        }

        shell.close();

        io.verbose("Disconnecting");

        client.close();

View Full Code Here

TOP

Related Classes of org.apache.geronimo.gshell.remote.client.proxy.RemoteShellProxy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.