예제 #1
0
 public void send_SetSceneValue_Bool(sbyte _sceneId, RemoteValueID _valueId, bool _value)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("SetSceneValue_Bool", TMessageType.Call, seqid_));
   SetSceneValue_Bool_args args = new SetSceneValue_Bool_args();
   args._sceneId = _sceneId;
   args._valueId = _valueId;
   args._value = _value;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
예제 #2
0
 public void SetSceneValue_Bool_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   SetSceneValue_Bool_args args = new SetSceneValue_Bool_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   SetSceneValue_Bool_result result = new SetSceneValue_Bool_result();
   result.Success = iface_.SetSceneValue_Bool(args._sceneId, args._valueId, args._value);
   oprot.WriteMessageBegin(new TMessage("SetSceneValue_Bool", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }