01: package sisc.io;
02:
03: import java.io.IOException;
04:
05: public interface InputPort extends Port {
06:
07: public boolean ready() throws IOException;
08: }
09: /*
10: * The contents of this file are subject to the Mozilla Public
11: * License Version 1.1 (the "License"); you may not use this file
12: * except in compliance with the License. You may obtain a copy of
13: * the License at http://www.mozilla.org/MPL/
14: *
15: * Software distributed under the License is distributed on an "AS
16: * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
17: * implied. See the License for the specific language governing
18: * rights and limitations under the License.
19: *
20: * The Original Code is the Second Interpreter of Scheme Code (SISC).
21: *
22: * The Initial Developer of the Original Code is Scott G. Miller.
23: * Portions created by Scott G. Miller are Copyright (C) 2000-2007
24: * Scott G. Miller. All Rights Reserved.
25: *
26: * Contributor(s):
27: * Matthias Radestock
28: *
29: * Alternatively, the contents of this file may be used under the
30: * terms of the GNU General Public License Version 2 or later (the
31: * "GPL"), in which case the provisions of the GPL are applicable
32: * instead of those above. If you wish to allow use of your
33: * version of this file only under the terms of the GPL and not to
34: * allow others to use your version of this file under the MPL,
35: * indicate your decision by deleting the provisions above and
36: * replace them with the notice and other provisions required by
37: * the GPL. If you do not delete the provisions above, a recipient
38: * may use your version of this file under either the MPL or the
39: * GPL.
40: */
|