Ejemplo n.º 1
0
 public void send_getCpuProfile(int profileDurationInSec)
 {
     oprot_.WriteMessageBegin(new TMessage("getCpuProfile", TMessageType.Call, seqid_));
       getCpuProfile_args args = new getCpuProfile_args();
       args.ProfileDurationInSec = profileDurationInSec;
       args.Write(oprot_);
       oprot_.WriteMessageEnd();
       oprot_.Transport.Flush();
 }
Ejemplo n.º 2
0
 public void getCpuProfile_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     getCpuProfile_args args = new getCpuProfile_args();
       args.Read(iprot);
       iprot.ReadMessageEnd();
       getCpuProfile_result result = new getCpuProfile_result();
       result.Success = iface_.getCpuProfile(args.ProfileDurationInSec);
       oprot.WriteMessageBegin(new TMessage("getCpuProfile", TMessageType.Reply, seqid));
       result.Write(oprot);
       oprot.WriteMessageEnd();
       oprot.Transport.Flush();
 }