예제 #1
0
파일: Hbase.cs 프로젝트: nordbergm/HBaseNet
 public void scannerGetList_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     var args = new scannerGetList_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     var result = new scannerGetList_result();
     try
     {
         result.Success = this.iface_.scannerGetList(args.Id, args.NbRows);
     }
     catch (IOError io)
     {
         result.Io = io;
     }
     catch (IllegalArgument ia)
     {
         result.Ia = ia;
     }
     oprot.WriteMessageBegin(new TMessage("scannerGetList", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
예제 #2
0
파일: Hbase.cs 프로젝트: nordbergm/HBaseNet
 public void send_scannerGetList(int id, int nbRows)
 {
     this.oprot_.WriteMessageBegin(new TMessage("scannerGetList", TMessageType.Call, this.seqid_));
     var args = new scannerGetList_args();
     args.Id = id;
     args.NbRows = nbRows;
     args.Write(this.oprot_);
     this.oprot_.WriteMessageEnd();
     this.oprot_.Transport.Flush();
 }
예제 #3
0
파일: Hbase.cs 프로젝트: acesir/hdfs-daemon
 public void send_scannerGetList(int id, int nbRows)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("scannerGetList", TMessageType.Call, seqid_));
   scannerGetList_args args = new scannerGetList_args();
   args.Id = id;
   args.NbRows = nbRows;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }