public void send_terminateCluster(string clusterId) #endif { oprot_.WriteMessageBegin(new TMessage("terminateCluster", TMessageType.Call, seqid_)); terminateCluster_args args = new terminateCluster_args(); args.ClusterId = clusterId; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void terminateCluster_Process(int seqid, TProtocol iprot, TProtocol oprot) { terminateCluster_args args = new terminateCluster_args(); args.Read(iprot); iprot.ReadMessageEnd(); terminateCluster_result result = new terminateCluster_result(); result.Success = iface_.terminateCluster(args.ClusterId); oprot.WriteMessageBegin(new TMessage("terminateCluster", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }