Example #1
0
 public void send_SoftReset(int _homeId)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("SoftReset", TMessageType.Call, seqid_));
   SoftReset_args args = new SoftReset_args();
   args._homeId = _homeId;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Example #2
0
 public void SoftReset_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   SoftReset_args args = new SoftReset_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   SoftReset_result result = new SoftReset_result();
   iface_.SoftReset(args._homeId);
   oprot.WriteMessageBegin(new TMessage("SoftReset", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }