Internet Direct (Indy) Version 9.0.1 Beta
|
function GetLineResponse(const ATag: String; const AAllowedResponses: array of SmallInt): SmallInt; virtual; overload;
GetLineResponse clears the contents of CmdResultDetails prior to retreiving a response line from the server using the ReadLnWait method, and adding the line to CmdResultDetails.
When the response line is an untagged server response, the ResultNo property is set to wsOk. When a tagged response is retrieved, the tag name in ATag is expected in the response, and the ResultNo value is determined by examing the reponse line.
GetLineResponse calls the inherited CheckResponse method, and sets the return value to the ResultNo from CheckResponse.