00001 /*[ 00002 * Copyright (c) 2007 Integration Engineering Laboratory 00003 University of California, Davis 00004 * 00005 * Permission to use, copy, and distribute this software and its 00006 * documentation for any purpose with or without fee is hereby granted, 00007 * provided that the above copyright notice appear in all copies and 00008 * that both that copyright notice and this permission notice appear 00009 * in supporting documentation. 00010 * 00011 * Permission to modify the software is granted, but not the right to 00012 * distribute the complete modified source code. Modifications are to 00013 * be distributed as patches to the released version. Permission to 00014 * distribute binaries produced by compiling modified sources is granted, 00015 * provided you 00016 * 1. distribute the corresponding source modifications from the 00017 * released version in the form of a patch file along with the binaries, 00018 * 2. add special version identification to distinguish your version 00019 * in addition to the base release version number, 00020 * 3. provide your name and address as the primary contact for the 00021 * support of your modified version, and 00022 * 4. retain our contact information in regard to use of the base 00023 * software. 00024 * Permission to distribute the released version of the source code along 00025 * with corresponding source modifications in the form of a patch file is 00026 * granted with same provisions 2 through 4 for binary distributions. 00027 * 00028 * This software is provided "as is" without express or implied warranty 00029 * to the extent permitted by applicable law. 00030 ]*/ 00031 00032 /* Format is: 00033 COMMAND("name", "cmd", "desc") 00034 */ 00035 COMMAND(QUIT, "quit", 00036 "This command ends the MobileC application.") 00037 COMMAND(HELP, "help", 00038 "This command displays help for any command. Usage is:\n \ 00039 \"help <command>\"") 00040 COMMAND(SEND, "send", 00041 "This command sends a client to a host. Usage is: \n \ 00042 \"send <filename> <target host> <target port>\"\n \ 00043 e.g. \"send test1.xml iel.ucdavis.edu 5155\"") 00044 COMMAND(PRINT_CONNECTLIST, 00045 "print_connectlist", 00046 "This command prints the list entries in the connectList.") 00047 COMMAND(PRINTLIST_MESSAGE, 00048 "printlist_message", 00049 "This command prints all the list entries on the linked list:\n \ 00050 message_queue") 00051 COMMAND(PRINTLIST_AGENTS, 00052 "printlist_agents", 00053 "This command prints all the agents on the system which are still\n\ 00054 on the agent list.\n") 00055