1 package org.lsst.ccs.command;
2
3 /**
4 * A CommandSet is a combination of a Dictionary plus the ability to
5 * invoke a command. Note that unlike a Dictionary, a CommandSet
6 * is not serializable. To make commands accessible remotely you need to wrap the
7 * CommandSet using an implementation of {@link org.lsst.ccs.command.remote.CommandServer}.
8 * @author tonyj
9 */
10 public interface CommandSet {
11
12 Dictionary getCommandDictionary();
13
14 Object invoke(BasicCommand tc) throws CommandInvocationException;
15 }