Example #1
0
 public bool recv_AddSceneValueListSelection_Int32()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   AddSceneValueListSelection_Int32_result result = new AddSceneValueListSelection_Int32_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.success) {
     return result.Success;
   }
   throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "AddSceneValueListSelection_Int32 failed: unknown result");
 }
Example #2
0
 public void AddSceneValueListSelection_Int32_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   AddSceneValueListSelection_Int32_args args = new AddSceneValueListSelection_Int32_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   AddSceneValueListSelection_Int32_result result = new AddSceneValueListSelection_Int32_result();
   result.Success = iface_.AddSceneValueListSelection_Int32(args._sceneId, args._valueId, args._value);
   oprot.WriteMessageBegin(new TMessage("AddSceneValueListSelection_Int32", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }