public void createInboxWithRules_Process(int seqid, TProtocol iprot, TProtocol oprot) { createInboxWithRules_args args = new createInboxWithRules_args(); args.Read(iprot); iprot.ReadMessageEnd(); createInboxWithRules_result result = new createInboxWithRules_result(); try { result.Success = iface_.createInboxWithRules(args.Inbox, args.Session); } catch (InboxException ex) { result.Ex = ex; } catch (SessionException se) { result.Se = se; } oprot.WriteMessageBegin(new TMessage("createInboxWithRules", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_createInboxWithRules(Inbox inbox, Session session) #endif { oprot_.WriteMessageBegin(new TMessage("createInboxWithRules", TMessageType.Call, seqid_)); createInboxWithRules_args args = new createInboxWithRules_args(); args.Inbox = inbox; args.Session = session; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }