public void send_changeVerificationMethod(string sessionId, VerificationMethod method) #endif { oprot_.WriteMessageBegin(new TMessage("changeVerificationMethod", TMessageType.Call, seqid_)); changeVerificationMethod_args args = new changeVerificationMethod_args(); args.SessionId = sessionId; args.Method = method; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void changeVerificationMethod_Process(int seqid, TProtocol iprot, TProtocol oprot) { changeVerificationMethod_args args = new changeVerificationMethod_args(); args.Read(iprot); iprot.ReadMessageEnd(); changeVerificationMethod_result result = new changeVerificationMethod_result(); try { result.Success = iface_.changeVerificationMethod(args.SessionId, args.Method); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("changeVerificationMethod", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }