public void send_getProfile() #endif { oprot_.WriteMessageBegin(new TMessage("getProfile", TMessageType.Call, seqid_)); getProfile_args args = new getProfile_args(); args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void getProfile_Process(int seqid, TProtocol iprot, TProtocol oprot) { getProfile_args args = new getProfile_args(); args.Read(iprot); iprot.ReadMessageEnd(); getProfile_result result = new getProfile_result(); try { result.Success = iface_.getProfile(args.UserId, args.TargetId, args.Username, args.Session); } catch (UserException ex) { result.Ex = ex; } catch (SessionException se) { result.Se = se; } oprot.WriteMessageBegin(new TMessage("getProfile", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void getProfile_Process(int seqid, TProtocol iprot, TProtocol oprot) { getProfile_args args = new getProfile_args(); args.Read(iprot); iprot.ReadMessageEnd(); getProfile_result result = new getProfile_result(); try { result.Success = iface_.getProfile(); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("getProfile", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_getProfile(int userId, int targetId, string username, Session session) #endif { oprot_.WriteMessageBegin(new TMessage("getProfile", TMessageType.Call, seqid_)); getProfile_args args = new getProfile_args(); args.UserId = userId; args.TargetId = targetId; args.Username = username; args.Session = session; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }