Ejemplo n.º 1
0
 public void send_addOperatingState(string accessKey, Dictionary<string, string> dataMap)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("addOperatingState", TMessageType.Call, seqid_));
   addOperatingState_args args = new addOperatingState_args();
   args.AccessKey = accessKey;
   args.DataMap = dataMap;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Ejemplo n.º 2
0
 public void addOperatingState_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   addOperatingState_args args = new addOperatingState_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   addOperatingState_result result = new addOperatingState_result();
   iface_.addOperatingState(args.AccessKey, args.DataMap);
   oprot.WriteMessageBegin(new TMessage("addOperatingState", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }