Methods in org.indy that throw ProtocolException |
int |
Connection.checkResponse(int response,
int[] allowedResponses)
Checks whether a numeric response code is within a desired
list of responses. |
int |
Connection.getResponse(int[] allowedResponses)
Reads a response from the remote peer, typically
of the form of a response code and some text,
and checks that the code is within allowedResponses . |
int |
Connection.getResponse(int allowedResponse)
Retreives a response from the connection using getInternalResponse
and checks it for validity. |