NCBI C++ ToolKit
item_resolver_client.hpp
Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef OBJECTS_TRACKMGR_GRIDCLI__ITEM_RESOLVER_CLIENT_HPP
2 #define OBJECTS_TRACKMGR_GRIDCLI__ITEM_RESOLVER_CLIENT_HPP
3 
4 /* $Id: item_resolver_client.hpp 70492 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 item-resolver request/reply
32  *
33  */
34 
35 /// @file tmgr_displaytrack_client.hpp
36 /// NetSchedule grid client for TrackManager item-resolver request/reply
37 
39 
40 
42 
46 class CSeq_id;
48 
49 
51 {
52 private:
54 
55 public:
56  typedef objects::CTMgr_ItemResolverRequest TRequest;
57  typedef objects::CTMgr_ItemResolverReply TReply;
60 
61 public:
62  CTMS_ItemResolver_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_ItemResolver_Client(const string& NS_registry_section = "netschedule_api",
69  const string& NC_registry_section = kEmptyStr
70  );
71 
72  virtual ~CTMS_ItemResolver_Client();
73 
74  TReplyRef Fetch(const TRequest& request) const;
75  //TReplyRef ResolveItems(const list<int>& trackids) const;
76  //TReplyRef ResolveItemsForSeq(const list<int>& trackids, const objects::CSeq_id& seq_id) const;
77 };
78 
79 
81 
82 #endif // OBJECTS_TRACKMGR_GRIDCLI__ITEM_RESOLVER_CLIENT_HPP
83 
Traits class for compressed binary ASN.1 streams.
CConstRef –.
Definition: ncbiobj.hpp:1266
CGridRPCBaseClient<typename TConnectTraits>
CRef –.
Definition: ncbiobj.hpp:618
objects::CTMgr_ItemResolverReply TReply
CConstRef< TRequest > TRequestCRef
objects::CTMgr_ItemResolverRequest TRequest
CGridRPCBaseClient< ncbi::CAsnBinCompressed > TBaseClient
CTMgr_ItemResolverReply –.
Classes pertaining to GRID-based ASN.1 RPC clients.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define END_SCOPE(ns)
End the previously defined scope.
Definition: ncbistl.hpp:75
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
#define BEGIN_SCOPE(ns)
Define a new scope.
Definition: ncbistl.hpp:72
#define kEmptyStr
Definition: ncbistr.hpp:123
Modified on Sat Apr 13 11:45:40 2024 by modify_doxy.py rev. 669887