public void getServerVersion_Process(int seqid, TProtocol iprot, TProtocol oprot) { getServerVersion_args args = new getServerVersion_args(); args.Read(iprot); iprot.ReadMessageEnd(); getServerVersion_result result = new getServerVersion_result(); try { result.Success = iface_.getServerVersion(args.AuthString); } catch (org.phybros.thrift.EAuthException aex) { result.Aex = aex; } oprot.WriteMessageBegin(new TMessage("getServerVersion", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_getServerVersion(string authString) #endif { oprot_.WriteMessageBegin(new TMessage("getServerVersion", TMessageType.Call, seqid_)); getServerVersion_args args = new getServerVersion_args(); args.AuthString = authString; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }