public void send_registerWithSnsIdAndIdentityCredential(SnsIdType snsIdType, string snsAccessToken, IdentityCredential identityCredential, string region, string udidHash, DeviceInfo deviceInfo) #endif { oprot_.WriteMessageBegin(new TMessage("registerWithSnsIdAndIdentityCredential", TMessageType.Call, seqid_)); registerWithSnsIdAndIdentityCredential_args args = new registerWithSnsIdAndIdentityCredential_args(); args.SnsIdType = snsIdType; args.SnsAccessToken = snsAccessToken; args.IdentityCredential = identityCredential; args.Region = region; args.UdidHash = udidHash; args.DeviceInfo = deviceInfo; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void registerWithSnsIdAndIdentityCredential_Process(int seqid, TProtocol iprot, TProtocol oprot) { registerWithSnsIdAndIdentityCredential_args args = new registerWithSnsIdAndIdentityCredential_args(); args.Read(iprot); iprot.ReadMessageEnd(); registerWithSnsIdAndIdentityCredential_result result = new registerWithSnsIdAndIdentityCredential_result(); try { result.Success = iface_.registerWithSnsIdAndIdentityCredential(args.SnsIdType, args.SnsAccessToken, args.IdentityCredential, args.Region, args.UdidHash, args.DeviceInfo); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("registerWithSnsIdAndIdentityCredential", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }