Exemplo n.º 1
0
 public void send_addAttendance(string accessKey, Dictionary<string, string> dataMap)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("addAttendance", TMessageType.Call, seqid_));
   addAttendance_args args = new addAttendance_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
 }
Exemplo n.º 2
0
 public void addAttendance_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   addAttendance_args args = new addAttendance_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   addAttendance_result result = new addAttendance_result();
   iface_.addAttendance(args.AccessKey, args.DataMap);
   oprot.WriteMessageBegin(new TMessage("addAttendance", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }