12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- %start MainMap::Startup
- %class BgApiRequest
- %map MainMap
- %%
- Startup
- {
- CommandReply
- ApiResponseStarted
- {
- }
- }
- ApiResponseStarted
- {
- ReplyText
- GotReplyText
- {
- }
- }
- GotReplyText
- {
- BlankLine
- nil
- {
-
- }
- JobUuid
- Startup
- {
- setRequestFinished(); callOrErrback();
- }
- }
- Default
- {
- BlankLine
- nil
- {
- setRequestFinished();
- errbackDeferred("Protocol failure - was not expecting blank line"); }
- CommandReply
- nil
- {
- setRequestFinished();
- errbackDeferred("Protocol failure - was not expecting command reply");
- }
- ReplyText
- nil
- {
- setRequestFinished();
- errbackDeferred("Protocol failure - was not expecting reply text");
- }
- ProcessLine(line)
- nil
- {
- setRequestFinished();
- errbackDeferred("Protocol failure handling bgapi response - was not expecting line needing to be processed");
- }
- }
- %%
|