001 /* 002 * $Id: StringHandler.java,v 1.1.1.1 2002/06/05 21:56:32 root Exp $ 003 * 004 * Developed for "Rethinking CS101", a project of Lynn Andrea Stein's AP Group. 005 * For more information, see <a href="http://www.ai.mit.edu/projects/cs101/">the 006 * CS101 homepage</a> or email <las@ai.mit.edu>. 007 * 008 * Copyright (C) 1996 Massachusetts Institute of Technology. 009 * Please do not redistribute without obtaining permission. 010 */ 011 package cs101.util; 012 013 /** An interface for objects that can handle Strings received from the 014 * network by cs101.net.Client. 015 * <p> 016 * Copyright (c) 1998 Massachusetts Institute of Technology 017 * 018 * @see cs101.net.Client 019 * 020 * @author Lynn Andrea Stein, las@ai.mit.edu 021 * @version $Id: StringHandler.java,v 1.1.1.1 2002/06/05 21:56:32 root Exp $ 022 */ 023 public interface StringHandler { 024 public void handleString( String s ); 025 } 026 027 028 /* 029 * $Log: StringHandler.java,v $ 030 * Revision 1.1.1.1 2002/06/05 21:56:32 root 031 * CS101 comes to Olin finally. 032 * 033 * Revision 1.4 1998/07/24 17:19:34 tparnell 034 * Placate new javadoc behavior 035 * 036 * Revision 1.3 1998/07/23 15:10:45 tparnell 037 * *** empty log message *** 038 * 039 * Revision 1.2 1998/07/23 14:57:34 tparnell 040 * javadoc fix 041 * 042 * Revision 1.1 1998/03/13 22:18:22 tparnell 043 * Import from server crash. I think the src and class files match up. 044 * 045 * Revision 1.1 1996/11/18 17:25:06 las 046 * Added revised SharedWhiteboard support classes. These versions of 047 * Client and Server supercede the previous ones and are not directly 048 * backwards compatible. In particular, Server is an instantiable class 049 * rather than a primarily static one (use RunServer to run it), and 050 * Client uses StringHandler rather than subclassing to specialize it. 051 * Line.java just picked up some obscure documentation along the way. 052 * Otherwise, classes are direct imports from SharedWhiteboard. 053 * 054 * Revision 1.2 1996/11/17 22:28:19 las 055 * Everything compiles (now). Client, Server, ClientDialog, ServerDialog, 056 * StringHandler, and RunServer need to be moved to cs101.util. But 057 * first, to test.... 058 * 059 */ 060