Пример #1
0
 public void send_GetSceneLabel(sbyte _sceneId)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("GetSceneLabel", TMessageType.Call, seqid_));
   GetSceneLabel_args args = new GetSceneLabel_args();
   args._sceneId = _sceneId;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Пример #2
0
 public void GetSceneLabel_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   GetSceneLabel_args args = new GetSceneLabel_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   GetSceneLabel_result result = new GetSceneLabel_result();
   result.Success = iface_.GetSceneLabel(args._sceneId);
   oprot.WriteMessageBegin(new TMessage("GetSceneLabel", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }