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