예제 #1
0
 public void saveFBProfilePic_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   saveFBProfilePic_args args = new saveFBProfilePic_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   saveFBProfilePic_result result = new saveFBProfilePic_result();
   iface_.saveFBProfilePic(args.Username, args.FbUsername);
   oprot.WriteMessageBegin(new TMessage("saveFBProfilePic", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
예제 #2
0
 public void send_saveFBProfilePic(string username, string fbUsername)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("saveFBProfilePic", TMessageType.Call, seqid_));
   saveFBProfilePic_args args = new saveFBProfilePic_args();
   args.Username = username;
   args.FbUsername = fbUsername;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }