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

Go to the SVN repository for this file.

1 #ifndef OBJECTS_TRACKMGR_GRIDCLI__TRACKSET_CLIENT_HPP
2 #define OBJECTS_TRACKMGR_GRIDCLI__TRACKSET_CLIENT_HPP
3 
4 /* $Id: trackset_client.hpp 68602 2015-08-18 20:21:50Z 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 trackset request/reply
32  *
33  */
34 
35 /// @file tmgr_displaytrack_client.hpp
36 /// NetSchedule grid client for TrackManager trackset request/reply
37 
39 
40 
42 
47 
48 
50 {
51 private:
53 
54 public:
55  typedef objects::CTMgr_RetrieveTracksetRequest TRequest;
56  typedef objects::CTMgr_RetrieveTracksetReply TReply;
59 
60 public:
61  CTMS_TrackSet_Client(const string& NS_service,
62  const string& NS_queue,
63  const string& client_name,
64  const string& NC_registry_section
65  );
66 
67  CTMS_TrackSet_Client(const string& NS_registry_section = "netschedule_api",
68  const string& NC_registry_section = kEmptyStr
69  );
70 
71  virtual ~CTMS_TrackSet_Client();
72 
73  TReplyRef Fetch(const TRequest& request) const;
74 };
75 
76 
78 
79 #endif // OBJECTS_TRACKMGR_GRIDCLI__TRACKSET_CLIENT_HPP
80 
Traits class for compressed binary ASN.1 streams.
CConstRef –.
Definition: ncbiobj.hpp:1266
CGridRPCBaseClient<typename TConnectTraits>
CRef –.
Definition: ncbiobj.hpp:618
CGridRPCBaseClient< ncbi::CAsnBinCompressed > TBaseClient
objects::CTMgr_RetrieveTracksetRequest TRequest
objects::CTMgr_RetrieveTracksetReply TReply
CConstRef< TRequest > TRequestCRef
CRef< TReply > TReplyRef
CTMgr_RetrieveTracksetReply –.
CTMgr_RetrieveTracksetRequest –.
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:48:41 2024 by modify_doxy.py rev. 669887