public void recv_SetNodeLocation() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } SetNodeLocation_result result = new SetNodeLocation_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); return; }
public void SetNodeLocation_Process(int seqid, TProtocol iprot, TProtocol oprot) { SetNodeLocation_args args = new SetNodeLocation_args(); args.Read(iprot); iprot.ReadMessageEnd(); SetNodeLocation_result result = new SetNodeLocation_result(); iface_.SetNodeLocation(args._homeId, args._nodeId, args._location); oprot.WriteMessageBegin(new TMessage("SetNodeLocation", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }