FileTransferStatus.h
Go to the documentation of this file.
1 #ifndef art_Framework_Services_FileServiceInterfaces_FileTransferStatus_h
2 #define art_Framework_Services_FileServiceInterfaces_FileTransferStatus_h
3 
4 #include <string>
5 
6 namespace art {
7 
8  namespace detail {
9  namespace FTS {
11  PENDING = -1, // Not attempted yet.
12  SUCCESS = 0, // A normal return from delivery protocol
13  BAD_REQUEST = 400,
14  UNAUTHORIZED = 401,
16  FORBIDDEN = 403,
17  NOT_FOUND = 404,
18  GONE = 410,
19  TOO_LARGE = 413,
20  URI_TOO_LONG = 414,
21  SERVER_ERROR = 500,
23  };
24  }
25  } // namespace detail
26 
27  // Enum values must be scoped, eg FileDeliveryStatus::OK.
29 
30  // Translate enum to string;
32 
33 } // namespace art
34 
35 #endif /* art_Framework_Services_FileServiceInterfaces_FileTransferStatus_h */
36 
37 // Local Variables:
38 // mode: c++
39 // End:
std::string string
Definition: nybbler.cc:12
std::string translateFileTransferStatus(FileTransferStatus stat)