01: /*
02: * calculator
03: *
04: * Enhydra super-servlet specification object
05: *
06: */
07:
08: package calculator.spec;
09:
10: import com.lutris.util.KeywordValueException;
11: import com.lutris.appserver.server.session.SessionData;
12:
13: public interface CalculatorManager {
14:
15: public void addDigit(SessionData sd, String button)
16: throws KeywordValueException;
17:
18: public void addPoint(SessionData sd) throws KeywordValueException;
19:
20: public void negate(SessionData sd) throws KeywordValueException;
21:
22: public void doEquals(SessionData sd) throws KeywordValueException;
23:
24: public void doFunction(SessionData sd, String op)
25: throws KeywordValueException;
26:
27: public void clear(SessionData sd) throws KeywordValueException;
28: }
|