Package org.jnode.shell.syntax

Examples of org.jnode.shell.syntax.HostNameArgument


    private final IntegerArgument argPort;
    private final FlagArgument argUdp;

    public RemoteOutputCommand() {
        super(help_super);
        argAddress = new HostNameArgument("host", Argument.MANDATORY, help_addr);
        argPort    = new IntegerArgument("port", Argument.OPTIONAL, help_port);
        argUdp     = new FlagArgument("udp", Argument.OPTIONAL, help_udp);
        registerArguments(argAddress, argPort, argUdp);
    }
View Full Code Here


    private final HostNameArgument argHost;

    public PingCommand() {
        super(help_super);
        argHost = new HostNameArgument("host", Argument.MANDATORY, help_host);
        registerArguments(argHost);
    }
View Full Code Here

    private final HostNameArgument argHost;

    public RpcInfoCommand() {
        super(help_super);
        argHost = new HostNameArgument("host", Argument.MANDATORY, help_host);
        registerArguments(argHost);
    }
View Full Code Here

    private CopyThread toThread;
    private CopyThread fromThread;

    public TcpInoutCommand() {
        super(help_super);
        argHost      = new HostNameArgument("host", Argument.OPTIONAL, help_host);
        argPort      = new PortNumberArgument("port", Argument.OPTIONAL, help_port);
        argLocalPort = new PortNumberArgument("localPort", Argument.OPTIONAL, help_lport);
        registerArguments(argHost, argLocalPort, argPort);
    }
View Full Code Here

    public TftpCommand() {
        super(help_super);
        argPut    = new FlagArgument("put", Argument.OPTIONAL, help_put);
        argGet    = new FlagArgument("get", Argument.OPTIONAL, help_get);
        argServer = new HostNameArgument("host", Argument.OPTIONAL, help_host);
        argFile   = new FileArgument("filename", Argument.OPTIONAL, help_file);
        registerArguments(argGet, argPut, argFile, argServer);
    }
View Full Code Here

TOP

Related Classes of org.jnode.shell.syntax.HostNameArgument

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.