예제 #1
0
 public void getOps_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getOps_args args = new getOps_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getOps_result result = new getOps_result();
   try {
     result.Success = iface_.getOps(args.AuthString);
   } catch (org.phybros.thrift.EAuthException aex) {
     result.Aex = aex;
   }
   oprot.WriteMessageBegin(new TMessage("getOps", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
예제 #2
0
 public void send_getOps(string authString)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getOps", TMessageType.Call, seqid_));
   getOps_args args = new getOps_args();
   args.AuthString = authString;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }