Example #1
0
 public void send_createQrcodeBase64Image(string url, string characterSet, int imageSize, int x, int y, int width, int height)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("createQrcodeBase64Image", TMessageType.Call, seqid_));
   createQrcodeBase64Image_args args = new createQrcodeBase64Image_args();
   args.Url = url;
   args.CharacterSet = characterSet;
   args.ImageSize = imageSize;
   args.X = x;
   args.Y = y;
   args.Width = width;
   args.Height = height;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Example #2
0
 public void createQrcodeBase64Image_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   createQrcodeBase64Image_args args = new createQrcodeBase64Image_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   createQrcodeBase64Image_result result = new createQrcodeBase64Image_result();
   try {
     result.Success = iface_.createQrcodeBase64Image(args.Url, args.CharacterSet, args.ImageSize, args.X, args.Y, args.Width, args.Height);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("createQrcodeBase64Image", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }