TJClientFile.h 607 Bytes
Newer Older
Nikola Hardi's avatar
Nikola Hardi committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Author: Nikola Hardi 3/6/2019
#ifndef ROOT_TJClientFile
#define ROOT_TJClientFile

#include <stdio.h>
#include <unistd.h>

#include "TObject.h"
#include "TString.h"

using std::string;

struct TJClientFile : public TObject {
  TJClientFile(const char *filepath = NULL);
  bool loadFile(const char *filepath = NULL);
  TString getDefaultPath();
  void setTmpdir();

  TString sUsercert;
  TString sUserkey;
  TString fHost;
  TString fHome;
  TString fUser;
  TString fPw;
  TString tmpdir;
  TString defaultJClientPath;
  int fPort;
  int fWSPort;
  bool isValid;

  ClassDef(TJClientFile, 0)
};

#endif