public static ulong parseMsgBegin(GmqParser parser) { ulong msgID; parser.parseUnsignedInteger(out msgID); return(msgID); }
public static void handle(GmqParser parser, GmqMessageHandler[] handlers) { ulong msgID; parser.parseUnsignedInteger(out msgID); GmqMessageHandler handler = find_handler(msgID, handlers); if (handler != null) { handler._delegate(parser, msgID); } else { throw new Exception(); } }
public static void parseMsgEnd(GmqParser parser) { }
void handle(GmqParser parser, ulong msgID) { _delegate(parser, msgID); }
public GmqPublishableParser(ReadIteratorT riter) { p = new GmqParser(riter); }