public void send_GetNumGroups(int _homeId, sbyte _nodeId) #endif { oprot_.WriteMessageBegin(new TMessage("GetNumGroups", TMessageType.Call, seqid_)); GetNumGroups_args args = new GetNumGroups_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 GetNumGroups_Process(int seqid, TProtocol iprot, TProtocol oprot) { GetNumGroups_args args = new GetNumGroups_args(); args.Read(iprot); iprot.ReadMessageEnd(); GetNumGroups_result result = new GetNumGroups_result(); result.Success = iface_.GetNumGroups(args._homeId, args._nodeId); oprot.WriteMessageBegin(new TMessage("GetNumGroups", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }