public void instancePull_Process(int seqid, TProtocol iprot, TProtocol oprot) { instancePull_args args = new instancePull_args(); args.Read(iprot); iprot.ReadMessageEnd(); instancePull_result result = new instancePull_result(); try { result.Success = iface_.instancePull(args.Instance, args.Session); } catch (ChatException ex) { result.Ex = ex; } catch (SessionException se) { result.Se = se; } oprot.WriteMessageBegin(new TMessage("instancePull", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_instancePull(ChatInstancePullInfo instance, Session session) #endif { oprot_.WriteMessageBegin(new TMessage("instancePull", TMessageType.Call, seqid_)); instancePull_args args = new instancePull_args(); args.Instance = instance; args.Session = session; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }