KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > impl > activation > CommandHandler


1 /*
2  * @(#)CommandHandler.java 1.14 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7 package com.sun.corba.se.impl.activation;
8
9 import org.omg.CORBA.ORB JavaDoc;
10
11 import java.io.PrintStream JavaDoc;
12
13 /**
14  * @version 1.14, 08/02/09
15  * @author Rohit Garg
16  * @since JDK1.2
17  */

18
19 public interface CommandHandler
20 {
21     String JavaDoc getCommandName();
22
23     public final static boolean shortHelp = true;
24     public final static boolean longHelp = false;
25
26     void printCommandHelp(PrintStream JavaDoc out, boolean helpType);
27
28     public final static boolean parseError = true;
29     public final static boolean commandDone = false;
30
31     boolean processCommand(String JavaDoc[] cmd, ORB JavaDoc orb, PrintStream JavaDoc out);
32 }
33
Popular Tags