Ejemplo n.º 1
0
 public void send_SceneGetValueAsInt(sbyte _sceneId, RemoteValueID _valueId)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("SceneGetValueAsInt", TMessageType.Call, seqid_));
   SceneGetValueAsInt_args args = new SceneGetValueAsInt_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
 }
Ejemplo n.º 2
0
 public void SceneGetValueAsInt_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   SceneGetValueAsInt_args args = new SceneGetValueAsInt_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   SceneGetValueAsInt_result result = new SceneGetValueAsInt_result();
   result.Success = iface_.SceneGetValueAsInt(args._sceneId, args._valueId);
   oprot.WriteMessageBegin(new TMessage("SceneGetValueAsInt", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }