org.netbeans.lib.cvsclient.response
Class WrapperSendResponse
java.lang.Object
org.netbeans.lib.cvsclient.response.WrapperSendResponse
- All Implemented Interfaces:
- Response
public class WrapperSendResponse
- extends java.lang.Object
- implements Response
This class handles the response from the server to a wrapper-sendme-rcsOptions
request
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WrapperSendResponse
public WrapperSendResponse()
parseWrappers
public static java.util.Map parseWrappers(java.lang.String line)
process
public void process(LoggedDataInputStream dis,
ResponseServices services)
throws ResponseException
- Process the data for the response.
- Specified by:
process
in interface 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
public 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
- Specified by:
isTerminalResponse
in interface Response