示例#1
0
 public void send_RemoveSceneValue(sbyte _sceneId, RemoteValueID _valueId)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("RemoveSceneValue", TMessageType.Call, seqid_));
   RemoveSceneValue_args args = new RemoveSceneValue_args();
   args._sceneId = _sceneId;
   args._valueId = _valueId;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
示例#2
0
 public void RemoveSceneValue_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   RemoveSceneValue_args args = new RemoveSceneValue_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   RemoveSceneValue_result result = new RemoveSceneValue_result();
   result.Success = iface_.RemoveSceneValue(args._sceneId, args._valueId);
   oprot.WriteMessageBegin(new TMessage("RemoveSceneValue", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }