public void send_deactivate(string name) #endif { oprot_.WriteMessageBegin(new TMessage("deactivate", TMessageType.Call, seqid_)); deactivate_args args = new deactivate_args(); args.Name = name; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void deactivate_Process(int seqid, TProtocol iprot, TProtocol oprot) { deactivate_args args = new deactivate_args(); args.Read(iprot); iprot.ReadMessageEnd(); deactivate_result result = new deactivate_result(); try { iface_.deactivate(args.Name); } catch (NotAliveException e) { result.E = e; } catch (AuthorizationException aze) { result.Aze = aze; } oprot.WriteMessageBegin(new TMessage("deactivate", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }