Ejemplo n.º 1
0
 public void send_AddSceneValue_String(sbyte _sceneId, RemoteValueID _valueId, string _value)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("AddSceneValue_String", TMessageType.Call, seqid_));
   AddSceneValue_String_args args = new AddSceneValue_String_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
 }
Ejemplo n.º 2
0
 public void AddSceneValue_String_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   AddSceneValue_String_args args = new AddSceneValue_String_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   AddSceneValue_String_result result = new AddSceneValue_String_result();
   result.Success = iface_.AddSceneValue_String(args._sceneId, args._valueId, args._value);
   oprot.WriteMessageBegin(new TMessage("AddSceneValue_String", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }