mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-01 21:13:10 +01:00
Add typedef for SharedPtr<Client>
This commit is contained in:
@@ -72,6 +72,9 @@ class Redis_API Client
|
||||
/// command << "list";
|
||||
{
|
||||
public:
|
||||
|
||||
typedef SharedPtr<Client> Ptr;
|
||||
|
||||
Client();
|
||||
/// Default constructor. Use this when you want to
|
||||
/// connect later on.
|
||||
@@ -185,7 +188,7 @@ private:
|
||||
|
||||
void connect();
|
||||
/// Connects to the Redis server
|
||||
|
||||
|
||||
void connect(const Timespan& timeout);
|
||||
/// Connects to the Redis server and sets a timeout.
|
||||
|
||||
|
Reference in New Issue
Block a user