public void recv_SetSceneLabel() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } SetSceneLabel_result result = new SetSceneLabel_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); return; }
public void SetSceneLabel_Process(int seqid, TProtocol iprot, TProtocol oprot) { SetSceneLabel_args args = new SetSceneLabel_args(); args.Read(iprot); iprot.ReadMessageEnd(); SetSceneLabel_result result = new SetSceneLabel_result(); iface_.SetSceneLabel(args._sceneId, args._value); oprot.WriteMessageBegin(new TMessage("SetSceneLabel", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }