Beispiel #1
0
 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
 }
Beispiel #2
0
 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();
 }
Beispiel #3
0
 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();
 }