Evernote.EDAM.NoteStore.NoteStore.Processor.getRandomAd_Process C# (CSharp) Method

getRandomAd_Process() public method

public getRandomAd_Process ( int seqid, TProtocol iprot, TProtocol oprot ) : void
seqid int
iprot Thrift.Protocol.TProtocol
oprot Thrift.Protocol.TProtocol
return void
      public void getRandomAd_Process(int seqid, TProtocol iprot, TProtocol oprot)
      {
        getRandomAd_args args = new getRandomAd_args();
        args.Read(iprot);
        iprot.ReadMessageEnd();
        getRandomAd_result result = new getRandomAd_result();
        try {
          result.Success = iface_.getRandomAd(args.AuthenticationToken, args.AdParameters);
        } catch (Evernote.EDAM.Error.EDAMUserException userException) {
          result.UserException = userException;
        } catch (Evernote.EDAM.Error.EDAMSystemException systemException) {
          result.SystemException = systemException;
        }
        oprot.WriteMessageBegin(new TMessage("getRandomAd", TMessageType.Reply, seqid)); 
        result.Write(oprot);
        oprot.WriteMessageEnd();
        oprot.Transport.Flush();
      }
NoteStore.Processor