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