示例#1
0
 public void getRegionInfo_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getRegionInfo_args args = new getRegionInfo_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getRegionInfo_result result = new getRegionInfo_result();
   try {
     result.Success = iface_.getRegionInfo(args.Row);
   } catch (IOError io) {
     result.Io = io;
   }
   oprot.WriteMessageBegin(new TMessage("getRegionInfo", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
示例#2
0
 public void send_getRegionInfo(byte[] row)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getRegionInfo", TMessageType.Call, seqid_));
   getRegionInfo_args args = new getRegionInfo_args();
   args.Row = row;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }