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