public void send_fetchInstruction(int address) #endif { oprot_.WriteMessageBegin(new TMessage("fetchInstruction", TMessageType.Call, seqid_)); fetchInstruction_args args = new fetchInstruction_args(); args.Address = address; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void fetchInstruction_Process(int seqid, TProtocol iprot, TProtocol oprot) { fetchInstruction_args args = new fetchInstruction_args(); args.Read(iprot); iprot.ReadMessageEnd(); fetchInstruction_result result = new fetchInstruction_result(); result.Success = iface_.fetchInstruction(args.Address); oprot.WriteMessageBegin(new TMessage("fetchInstruction", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }