Esempio n. 1
0
 public Bool_Int recv_SceneGetValueListSelection_Int32()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   SceneGetValueListSelection_Int32_result result = new SceneGetValueListSelection_Int32_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.success) {
     return result.Success;
   }
   throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "SceneGetValueListSelection_Int32 failed: unknown result");
 }
Esempio n. 2
0
 public void SceneGetValueListSelection_Int32_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   SceneGetValueListSelection_Int32_args args = new SceneGetValueListSelection_Int32_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   SceneGetValueListSelection_Int32_result result = new SceneGetValueListSelection_Int32_result();
   result.Success = iface_.SceneGetValueListSelection_Int32(args._sceneId, args._valueId);
   oprot.WriteMessageBegin(new TMessage("SceneGetValueListSelection_Int32", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }