Package org.jnode.net.syntax

Examples of org.jnode.net.syntax.IPv4AddressArgument


    public RouteCommand() {
        super(help_super);
        argAdd     = new FlagArgument("add", Argument.OPTIONAL, help_add);
        argDel     = new FlagArgument("del", Argument.OPTIONAL, help_del);
        argTarget  = new IPv4AddressArgument("target", Argument.OPTIONAL, help_target);
        argGateway = new IPv4HostArgument("gateway", Argument.OPTIONAL, help_gateway);
        argDevice  = new DeviceArgument("device", Argument.OPTIONAL, help_device);
        registerArguments(argAdd, argDel, argDevice, argGateway, argTarget);
    }
View Full Code Here


    public ResolverCommand() {
        super(help_super);
        argAdd       = new FlagArgument("add", Argument.OPTIONAL, help_add);
        argDel       = new FlagArgument("del", Argument.OPTIONAL, help_del);
        argDnsServer = new IPv4AddressArgument("server", Argument.OPTIONAL, help_server);
        registerArguments(argAdd, argDel, argDnsServer);
    }
View Full Code Here


    public IfconfigCommand() {
        super(help_super);
        argDevice     = new DeviceArgument("device", Argument.OPTIONAL, help_device, NetDeviceAPI.class);
        argIPAddress  = new IPv4AddressArgument("ipAddress", Argument.OPTIONAL, help_ip);
        argSubnetMask = new IPv4AddressArgument("subnetMask", Argument.OPTIONAL, help_subnet);
        registerArguments(argDevice, argIPAddress, argSubnetMask);
    }
View Full Code Here

TOP

Related Classes of org.jnode.net.syntax.IPv4AddressArgument

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.