Skip to content

Commit

Permalink
Add comments to explain the three S3Client constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
qris committed Jul 23, 2017
1 parent 4dfd21f commit 026c371
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/httpserver/S3Client.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class IOStream;
class S3Client
{
public:
// Constructor with a simulator:
S3Client(HTTPServer* pSimulator, const std::string& rHostName,
const std::string& rAccessKey, const std::string& rSecretKey)
: mpSimulator(pSimulator),
Expand All @@ -40,6 +41,7 @@ class S3Client
mNetworkTimeout(30000)
{ }

// Constructor with a specific hostname, virtualhost name, port etc:
S3Client(std::string HostName, int Port, const std::string& rAccessKey,
const std::string& rSecretKey)
: mpSimulator(NULL),
Expand Down

0 comments on commit 026c371

Please sign in to comment.