Ejemplo n.º 1
0
 public void send_getPublicNotebook(int userId, string publicUri)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getPublicNotebook", TMessageType.Call, seqid_));
   getPublicNotebook_args args = new getPublicNotebook_args();
   args.UserId = userId;
   args.PublicUri = publicUri;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT || NETFX_CORE
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Ejemplo n.º 2
0
 public void getPublicNotebook_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getPublicNotebook_args args = new getPublicNotebook_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getPublicNotebook_result result = new getPublicNotebook_result();
   try {
     result.Success = iface_.getPublicNotebook(args.UserId, args.PublicUri);
   } catch (Evernote.EDAM.Error.EDAMSystemException systemException) {
     result.SystemException = systemException;
   } catch (Evernote.EDAM.Error.EDAMNotFoundException notFoundException) {
     result.NotFoundException = notFoundException;
   }
   oprot.WriteMessageBegin(new TMessage("getPublicNotebook", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Ejemplo n.º 3
0
 public void send_getPublicNotebook(int userId, string publicUri)
 {
     oprot_.WriteMessageBegin(new TMessage("getPublicNotebook", TMessageType.Call, seqid_));
     getPublicNotebook_args args = new getPublicNotebook_args();
     args.UserId = userId;
     args.PublicUri = publicUri;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }