public void send_getCountryWithRequestIp() #endif { oprot_.WriteMessageBegin(new TMessage("getCountryWithRequestIp", TMessageType.Call, seqid_)); getCountryWithRequestIp_args args = new getCountryWithRequestIp_args(); args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void getCountryWithRequestIp_Process(int seqid, TProtocol iprot, TProtocol oprot) { getCountryWithRequestIp_args args = new getCountryWithRequestIp_args(); args.Read(iprot); iprot.ReadMessageEnd(); getCountryWithRequestIp_result result = new getCountryWithRequestIp_result(); try { result.Success = iface_.getCountryWithRequestIp(); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("getCountryWithRequestIp", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }