01: // You can redistribute this software and/or modify it under the terms of
02: // the Ozone Library License version 1 published by ozone-db.org.
03: //
04: // The original code and portions created by SMB are
05: // Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
06: //
07: // $Id: IODevice.java,v 1.1 2001/12/18 10:31:31 per_nyfelt Exp $
08:
09: package org.ozoneDB.tools;
10:
11: /**
12: * IODevice is a thing where a CommandExecute can output its messages and
13: * get input from.
14: */
15: public interface IODevice {
16:
17: public void message(String mess);
18:
19: public void asyncMessage(String mess);
20:
21: public void close();
22:
23: public boolean request(String req);
24: }
|