public override ProcedureCall ReadProcedureCallBegin() { var message = new ProcedureCall(); message.Id = ReadI32(); message.SequenceNumber = ReadI32(); return(message); }
public override ProcedureCall ReadProcedureCallBegin() { ProcedureCall message = new ProcedureCall(); ReadJSONArrayStart(); message.Id = (int)ReadJSONInteger(); message.SequenceNumber = (int)ReadJSONInteger(); return(message); }
public abstract void WriteProcedureCallBegin(ProcedureCall procedure);
/** * Write a message header to the wire. Compact Protocol messages contain the * protocol version so we can migrate forwards in the future if need be. */ public override void WriteProcedureCallBegin(ProcedureCall message) { WriteVarint32((uint)message.Id); WriteVarint32((uint)message.SequenceNumber); }
public override void WriteProcedureCallBegin(ProcedureCall message) { WriteI32(message.Id); WriteI32(message.SequenceNumber); }
public override void WriteProcedureCallBegin(ProcedureCall message) { WriteJSONArrayStart(); WriteJSONInteger(message.Id); WriteJSONInteger(message.SequenceNumber); }