1 #ifndef OBJECTS_TRACKMGR_GRIDCLI__TRACK_ATTR_VALUE_CLIENT_HPP 2 #define OBJECTS_TRACKMGR_GRIDCLI__TRACK_ATTR_VALUE_CLIENT_HPP 3 4 /* $Id: track_attrvalue_client.hpp 488465 2015-12-30 23:55:06Z meric $ 5 * =========================================================================== 6 * 7 * PUBLIC DOMAIN NOTICE 8 * National Center for Biotechnology Information 9 * 10 * This software/database is a "United States Government Work" under the 11 * terms of the United States Copyright Act. It was written as part of 12 * the author's official duties as a United States Government employee and 13 * thus cannot be copyrighted. This software/database is freely available 14 * to the public for use. The National Library of Medicine and the U.S. 15 * Government have not placed any restriction on its use or reproduction. 16 * 17 * Although all reasonable efforts have been taken to ensure the accuracy 18 * and reliability of the software and data, the NLM and the U.S. 19 * Government do not and cannot warrant the performance or results that 20 * may be obtained by using this software or data. The NLM and the U.S. 21 * Government disclaim all warranties, express or implied, including 22 * warranties of performance, merchantability or fitness for any particular 23 * purpose. 24 * 25 * Please cite the author in any work or product based on this material. 26 * 27 * =========================================================================== 28 * 29 * Authors: Peter Meric 30 * 31 * File Description: NetSchedule grid client for TrackManager track attr-value request/reply 32 * 33 */ 34 35 /// @file tmgr_displaytrack_client.hpp 36 /// NetSchedule grid client for TrackManager track attr-value request/reply 37 38 #include <objects/trackmgr/gridrpcclient.hpp> 39 40 41 BEGIN_NCBI_SCOPE 42 43 BEGIN_SCOPE(objects) 44 class CTMgr_TrackAttrValueRequest; 45 class CTMgr_TrackAttrValueReply; 46 class CSeq_id; 47 END_SCOPE(objects) 48 49 50 class CTMS_TrackAttrValue_Client : private CGridRPCBaseClient<CAsnBinCompressed> 51 { 52 private: 53 typedef CGridRPCBaseClient<ncbi::CAsnBinCompressed> TBaseClient; 54 55 public: 56 typedef objects::CTMgr_TrackAttrValueRequest TRequest; 57 typedef objects::CTMgr_TrackAttrValueReply TReply; 58 typedef CConstRef<TRequest> TRequestCRef; 59 typedef CRef<TReply> TReplyRef; 60 61 public: 62 CTMS_TrackAttrValue_Client(const string& NS_service, 63 const string& NS_queue, 64 const string& client_name, 65 const string& NC_registry_section 66 ); 67 68 CTMS_TrackAttrValue_Client(const string& NS_registry_section = "netschedule_api", 69 const string& NC_registry_section = kEmptyStr 70 ); 71 72 virtual ~CTMS_TrackAttrValue_Client(); 73 74 TReplyRef Fetch(const TRequest& request) const; 75 }; 76 77 78 END_NCBI_SCOPE 79 80 #endif // OBJECTS_TRACKMGR_GRIDCLI__TRACK_ATTR_VALUE_CLIENT_HPP 81 82