public void send_GetNodeName(int _homeId, sbyte _nodeId) #endif { oprot_.WriteMessageBegin(new TMessage("GetNodeName", TMessageType.Call, seqid_)); GetNodeName_args args = new GetNodeName_args(); args._homeId = _homeId; args._nodeId = _nodeId; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void GetNodeName_Process(int seqid, TProtocol iprot, TProtocol oprot) { GetNodeName_args args = new GetNodeName_args(); args.Read(iprot); iprot.ReadMessageEnd(); GetNodeName_result result = new GetNodeName_result(); result.Success = iface_.GetNodeName(args._homeId, args._nodeId); oprot.WriteMessageBegin(new TMessage("GetNodeName", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }