org.netbeans.lib.cvsclient.response
Interface Response

All Known Implementing Classes:
CreatedResponse, ErrorMessageResponse, ErrorResponse, WrapperSendResponse

public interface Response

Handles responses from the CVS server


Method Summary
 boolean isTerminalResponse()
          Is this a terminal response, i.e.
 void process(LoggedDataInputStream dis, ResponseServices services)
          Process the data for the response.
 

Method Detail

process

void process(LoggedDataInputStream dis,
             ResponseServices services)
             throws ResponseException
Process the data for the response.

Parameters:
dis - the data inputstream allowing the client to read the server's response. Note that the actual response name has already been read and the input stream is positioned just before the first argument, if any.
Throws:
ResponseException

isTerminalResponse

boolean isTerminalResponse()
Is this a terminal response, i.e. should reading of responses stop after this response. This is true for responses such as OK or an error response


 

Built on August 7 2008.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.