Esempio n. 1
0
 public void updateInboxFolderName_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   updateInboxFolderName_args args = new updateInboxFolderName_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   updateInboxFolderName_result result = new updateInboxFolderName_result();
   try {
     result.Success = iface_.updateInboxFolderName(args.Inbox, args.Session);
   } catch (InboxException ex) {
     result.Ex = ex;
   } catch (SessionException se) {
     result.Se = se;
   }
   oprot.WriteMessageBegin(new TMessage("updateInboxFolderName", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Esempio n. 2
0
 public void send_updateInboxFolderName(Inbox inbox, Session session)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("updateInboxFolderName", TMessageType.Call, seqid_));
   updateInboxFolderName_args args = new updateInboxFolderName_args();
   args.Inbox = inbox;
   args.Session = session;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }