public void Read(TProtocol iprot) { TField field; iprot.ReadStructBegin(); while (true) { field = iprot.ReadFieldBegin(); if (field.Type == TType.Stop) { break; } switch (field.ID) { case 1: if (field.Type == TType.Struct) { PopulationInfo = new CPopulationInfo(); PopulationInfo.Read(iprot); } else { TProtocolUtil.Skip(iprot, field.Type); } break; default: TProtocolUtil.Skip(iprot, field.Type); break; } iprot.ReadFieldEnd(); } iprot.ReadStructEnd(); }
public CPopulationFitness calculateXorPopulationFitness(CPopulationInfo populationInfo) { #if !SILVERLIGHT send_calculateXorPopulationFitness(populationInfo); return(recv_calculateXorPopulationFitness()); #else var asyncResult = Begin_calculateXorPopulationFitness(null, null, populationInfo); return(End_calculateXorPopulationFitness(asyncResult)); #endif }
public CPopulationFitness calculateXorPopulationFitness(CPopulationInfo populationInfo) { #if !SILVERLIGHT send_calculateXorPopulationFitness(populationInfo); return recv_calculateXorPopulationFitness(); #else var asyncResult = Begin_calculateXorPopulationFitness(null, null, populationInfo); return End_calculateXorPopulationFitness(asyncResult); #endif }
public void send_calculateSimPopulationFitness(CPopulationInfo populationInfo) #endif { oprot_.WriteMessageBegin(new TMessage("calculateSimPopulationFitness", TMessageType.Call, seqid_)); calculateSimPopulationFitness_args args = new calculateSimPopulationFitness_args(); args.PopulationInfo = populationInfo; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return(oprot_.Transport.BeginFlush(callback, state)); #else oprot_.Transport.Flush(); #endif }
public IAsyncResult send_calculateXorPopulationFitness(AsyncCallback callback, object state, CPopulationInfo populationInfo)
public IAsyncResult Begin_calculateXorPopulationFitness(AsyncCallback callback, object state, CPopulationInfo populationInfo) { return(send_calculateXorPopulationFitness(callback, state, populationInfo)); }
public void Read (TProtocol iprot) { TField field; iprot.ReadStructBegin(); while (true) { field = iprot.ReadFieldBegin(); if (field.Type == TType.Stop) { break; } switch (field.ID) { case 1: if (field.Type == TType.Struct) { PopulationInfo = new CPopulationInfo(); PopulationInfo.Read(iprot); } else { TProtocolUtil.Skip(iprot, field.Type); } break; default: TProtocolUtil.Skip(iprot, field.Type); break; } iprot.ReadFieldEnd(); } iprot.ReadStructEnd(); }
public void send_calculateXorPopulationFitness(CPopulationInfo populationInfo) #endif { oprot_.WriteMessageBegin(new TMessage("calculateXorPopulationFitness", TMessageType.Call, seqid_)); calculateXorPopulationFitness_args args = new calculateXorPopulationFitness_args(); args.PopulationInfo = populationInfo; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public IAsyncResult Begin_calculateXorPopulationFitness(AsyncCallback callback, object state, CPopulationInfo populationInfo) { return send_calculateXorPopulationFitness(callback, state, populationInfo); }