Exemplo n.º 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();
 }
Exemplo n.º 2
0
 public void recv_saveFBProfilePic()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   saveFBProfilePic_result result = new saveFBProfilePic_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   return;
 }