01: /*
02: ** Java cvs client library package.
03: ** Copyright (c) 1997-2002 by Timothy Gerard Endres
04: **
05: ** This program is free software.
06: **
07: ** You may redistribute it and/or modify it under the terms of the GNU
08: ** Library General Public License (LGPL) as published by the Free Software
09: ** Foundation.
10: **
11: ** Version 2 of the license should be included with this distribution in
12: ** the file LICENSE.txt, as well as License.html. If the license is not
13: ** included with this distribution, you may find a copy at the FSF web
14: ** site at 'www.gnu.org' or 'www.fsf.org', or you may write to the Free
15: ** Software Foundation at 59 Temple Place - Suite 330, Boston, MA 02111 USA.
16: **
17: ** THIS SOFTWARE IS PROVIDED AS-IS WITHOUT WARRANTY OF ANY KIND,
18: ** NOT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY. THE AUTHOR
19: ** OF THIS SOFTWARE, ASSUMES _NO_ RESPONSIBILITY FOR ANY
20: ** CONSEQUENCE RESULTING FROM THE USE, MODIFICATION, OR
21: ** REDISTRIBUTION OF THIS SOFTWARE.
22: **
23: */
24:
25: package com.ice.cvsc;
26:
27: /**
28: * The CVSResponseHandler interface provides an interface
29: * for CVSClient to call for inline processing of the server
30: * responses. This is used when the CVSRequest specifies that
31: * the response should <strong>not</strong> be <em>queued</em>.
32: *
33: * @version $Revision: 2.3 $
34: * @author Timothy Gerard Endres, <a href="mailto:time@ice.com">time@ice.com</a>.
35: * @see CVSProject
36: * @see CVSClient
37: *
38: */
39:
40: public interface CVSResponseHandler {
41: static public final String RCS_ID = "$Id: CVSResponseHandler.java,v 2.3 2003/07/27 01:08:32 time Exp $";
42: static public final String RCS_REV = "$Revision: 2.3 $";
43:
44: abstract public boolean handleResponseItem(CVSRequest request,
45: CVSResponse response, CVSResponseItem item);
46: }
|