コード例 #1
0
ファイル: UserStore.cs プロジェクト: phillco/HellForge
 public void send_getPublicUserInfo(string username)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getPublicUserInfo", TMessageType.Call, seqid_));
   getPublicUserInfo_args args = new getPublicUserInfo_args();
   args.Username = username;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
コード例 #2
0
ファイル: UserStore.cs プロジェクト: phillco/HellForge
 public void getPublicUserInfo_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getPublicUserInfo_args args = new getPublicUserInfo_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getPublicUserInfo_result result = new getPublicUserInfo_result();
   try {
     result.Success = iface_.getPublicUserInfo(args.Username);
   } catch (Evernote.EDAM.Error.EDAMNotFoundException notFoundException) {
     result.NotFoundException = notFoundException;
   } catch (Evernote.EDAM.Error.EDAMSystemException systemException) {
     result.SystemException = systemException;
   } catch (Evernote.EDAM.Error.EDAMUserException userException) {
     result.UserException = userException;
   }
   oprot.WriteMessageBegin(new TMessage("getPublicUserInfo", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
コード例 #3
0
ファイル: UserStore.cs プロジェクト: trayburn/EverGTD
 public void send_getPublicUserInfo(string username)
 {
     oprot_.WriteMessageBegin(new TMessage("getPublicUserInfo", TMessageType.Call, seqid_));
     getPublicUserInfo_args args = new getPublicUserInfo_args();
     args.Username = username;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }