Exemplo n.º 1
0
 public void getRow_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     var args = new getRow_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     var result = new getRow_result();
     try
     {
         result.Success = this.iface_.getRow(args.TableName, args.Row);
     }
     catch (IOError io)
     {
         result.Io = io;
     }
     oprot.WriteMessageBegin(new TMessage("getRow", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
Exemplo n.º 2
0
 public void getRow_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     getRow_args args = new getRow_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     getRow_result result = new getRow_result();
     try {
       result.success = iface_.getRow(args.tableName, args.row);
       result.__isset.success = true;
     } catch (IOError io) {
       result.io = io;
       result.__isset.io = true;
     }
     oprot.WriteMessageBegin(new TMessage("getRow", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }