Example #1
0
 public void send_ReleaseButton(RemoteValueID _id)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("ReleaseButton", TMessageType.Call, seqid_));
   ReleaseButton_args args = new ReleaseButton_args();
   args._id = _id;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Example #2
0
 public void ReleaseButton_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   ReleaseButton_args args = new ReleaseButton_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   ReleaseButton_result result = new ReleaseButton_result();
   result.Success = iface_.ReleaseButton(args._id);
   oprot.WriteMessageBegin(new TMessage("ReleaseButton", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }