public interface Response
Modifier and Type | Method and Description |
---|---|
boolean |
isTerminalResponse()
Is this a terminal response, i.e. should reading of responses stop
after this response.
|
void |
process(LoggedDataInputStream dis,
ResponseServices services)
Process the data for the response.
|
void process(LoggedDataInputStream dis, ResponseServices services) throws ResponseException
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.ResponseException
boolean isTerminalResponse()