Lines Matching defs:response

105 Command::HandleTagged(Response& response)
107 if (response.StringAt(0) == "OK")
109 if (response.StringAt(0) == "BAD")
111 if (response.StringAt(0) == "NO")
177 LoginCommand::HandleUntagged(Response& response)
179 if (!response.EqualsAt(0, "OK") || !response.IsListAt(1, '['))
183 ArgumentList& list = response.ListAt(1);
230 SelectCommand::HandleUntagged(Response& response)
232 if (response.EqualsAt(0, "OK") && response.IsListAt(1, '[')) {
233 const ArgumentList& arguments = response.ListAt(1);
268 CapabilityHandler::HandleUntagged(Response& response)
270 if (!response.IsCommand("CAPABILITY"))
274 while (response.CountItems() > 1)
275 fCapabilities.AddItem(response.RemoveItemAt(1));
314 FetchMessageEntriesCommand::HandleUntagged(Response& response)
316 if (!response.EqualsAt(1, "FETCH") || !response.IsListAt(2))
321 ArgumentList& list = response.ListAt(2);
425 FetchCommand::HandleUntagged(Response& response)
427 if (!response.EqualsAt(1, "FETCH") || !response.IsListAt(2))
430 ArgumentList& list = response.ListAt(2);
451 FetchCommand::HandleLiteral(Response& response, ArgumentList& arguments,
454 if (fListener == NULL || !response.EqualsAt(1, "FETCH")
455 || !response.IsListAt(2))
484 SetFlagsCommand::HandleUntagged(Response& response)
487 return response.EqualsAt(1, "FETCH");
524 AppendCommand::HandleUntagged(const BString& response)
526 if (response.FindFirst("+") != 0)
566 ExistsHandler::HandleUntagged(Response& response)
568 if (!response.EqualsAt(1, "EXISTS") || !response.IsNumberAt(0))
571 uint32 count = response.NumberAt(0);
611 ExpungeHandler::HandleUntagged(Response& response)
613 if (!response.EqualsAt(1, "EXPUNGE") || !response.IsNumberAt(0))
616 uint32 index = response.NumberAt(0);
637 FlagsHandler::HandleUntagged(const BString& response)
639 if (response.FindFirst("FETCH") < 0)
643 if (!IMAPParser::ExtractUntagedFromLeft(response, "FETCH", fetch))
646 int32 flags = FetchMinMessageCommand::ExtractFlags(response);
684 ListCommand::HandleUntagged(Response& response)
686 if (response.IsCommand(_Command()) && response.IsStringAt(2)
687 && response.IsStringAt(3)) {
688 fSeparator = response.StringAt(2);
690 if (response.IsListAt(1)) {
693 ArgumentList& attributes = response.ListAt(1);
698 BString folder = response.StringAt(3);
798 GetQuotaCommand::HandleUntagged(Response& response)
800 if (!response.IsCommand("QUOTA") || !response.IsListAt(2))
803 const ArgumentList& arguments = response.ListAt(2);