started protocol documentation

This commit is contained in:
Max-Wilhelm Bruker 2009-06-30 23:26:10 +02:00
parent 9e044ffad0
commit 47eadb6f86
3 changed files with 111 additions and 2 deletions

View file

@ -15,7 +15,6 @@ bool ReturnMessage::send(ReturnCode code)
case ReturnSyntaxError: returnCodeString = "syntax"; break;
case ReturnContextError: returnCodeString = "context"; break;
case ReturnPasswordWrong: returnCodeString = "password"; break;
case ReturnNameNotFound: returnCodeString = "name_not_found"; break;
}
s->msg(QString("resp|%1|%2|%3").arg(msg_id)
.arg(success ? "ok" : "err")