public void getWorld_Process(int seqid, TProtocol iprot, TProtocol oprot) { getWorld_args args = new getWorld_args(); args.Read(iprot); iprot.ReadMessageEnd(); getWorld_result result = new getWorld_result(); try { result.Success = iface_.getWorld(args.AuthString, args.WorldName); } catch (org.phybros.thrift.EAuthException aex) { result.Aex = aex; } catch (org.phybros.thrift.EDataException dex) { result.Dex = dex; } oprot.WriteMessageBegin(new TMessage("getWorld", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_getWorld(string authString, string worldName) #endif { oprot_.WriteMessageBegin(new TMessage("getWorld", TMessageType.Call, seqid_)); getWorld_args args = new getWorld_args(); args.AuthString = authString; args.WorldName = worldName; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }