org.locomotive.loco
Class StopLoco

java.lang.Object
  |
  +--org.locomotive.loco.StopLoco

public class StopLoco
extends java.lang.Object

Java-based stoploco client. Acts more or less exactly as the old c-based client does. For usage information, see the main method below.


Constructor Summary
StopLoco()
           
 
Method Summary
static void main(java.lang.String[] args)
          This attempts to stop a locomotive remotely.
static void usage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopLoco

public StopLoco()
Method Detail

main

public static void main(java.lang.String[] args)
This attempts to stop a locomotive remotely. It takes the following arguments:
   -h      print usage
   -p      port the locomotive is listening on.  Defaults to 5421.
   -a      host that the locomotive is operating on.  This can be either
           an ip address in quad-octet notation, or a host name.
           Defaults to localhost.
 

usage

public static void usage()