public void send_saveBlockedInstanceIds(List<string> instances, string userId, Session session) #endif { oprot_.WriteMessageBegin(new TMessage("saveBlockedInstanceIds", TMessageType.Call, seqid_)); saveBlockedInstanceIds_args args = new saveBlockedInstanceIds_args(); args.Instances = instances; 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 saveBlockedInstanceIds_Process(int seqid, TProtocol iprot, TProtocol oprot) { saveBlockedInstanceIds_args args = new saveBlockedInstanceIds_args(); args.Read(iprot); iprot.ReadMessageEnd(); saveBlockedInstanceIds_result result = new saveBlockedInstanceIds_result(); try { iface_.saveBlockedInstanceIds(args.Instances, args.UserId, args.Session); } catch (ChatUserInfoException ex) { result.Ex = ex; } catch (SessionException se) { result.Se = se; } oprot.WriteMessageBegin(new TMessage("saveBlockedInstanceIds", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }