Ejemplo n.º 1
0
 public void exists_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     exists_args args = new exists_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     exists_result result = new exists_result();
     try {
       result.Success = iface_.exists(args.Path);
     } catch (ThriftIOException ouch) {
       result.Ouch = ouch;
     }
     oprot.WriteMessageBegin(new TMessage("exists", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
Ejemplo n.º 2
0
 public void exists_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     exists_args args = new exists_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     exists_result result = new exists_result();
     try {
       result.Success = iface_.exists(args.Table, args.Get);
     } catch (TIOError io) {
       result.Io = io;
     }
     oprot.WriteMessageBegin(new TMessage("exists", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }