public void send_saveUserBlockedInstancess(string instanceId, List<string> userIdList, string userId, Session session) #endif { oprot_.WriteMessageBegin(new TMessage("saveUserBlockedInstancess", TMessageType.Call, seqid_)); saveUserBlockedInstancess_args args = new saveUserBlockedInstancess_args(); args.InstanceId = instanceId; args.UserIdList = userIdList; args.UserId = userId; args.Session = session; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void saveUserBlockedInstancess_Process(int seqid, TProtocol iprot, TProtocol oprot) { saveUserBlockedInstancess_args args = new saveUserBlockedInstancess_args(); args.Read(iprot); iprot.ReadMessageEnd(); saveUserBlockedInstancess_result result = new saveUserBlockedInstancess_result(); try { iface_.saveUserBlockedInstancess(args.InstanceId, args.UserIdList, args.UserId, args.Session); } catch (ChatUserInfoException ex) { result.Ex = ex; } catch (SessionException se) { result.Se = se; } oprot.WriteMessageBegin(new TMessage("saveUserBlockedInstancess", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }