Esempio n. 1
0
 public void getProfilePicture_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getProfilePicture_args args = new getProfilePicture_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getProfilePicture_result result = new getProfilePicture_result();
   result.Success = iface_.getProfilePicture(args.Username);
   oprot.WriteMessageBegin(new TMessage("getProfilePicture", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Esempio n. 2
0
 public void send_getProfilePicture(string username)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getProfilePicture", TMessageType.Call, seqid_));
   getProfilePicture_args args = new getProfilePicture_args();
   args.Username = username;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }