Add new connection trait.

This commit is contained in:
Marcus Edel
2015-05-03 22:14:54 +02:00
parent f2dcb8fcbc
commit d60fca25a2
3 changed files with 7 additions and 0 deletions
@@ -31,6 +31,11 @@ class ConnectionTraits
* This is true if the connection is a fullself connection.
*/
static const bool IsFullselfConnection = false;
/**
* This is true if the connection is a pooling connection.
*/
static const bool IsPoolingConnection = false;
};
}; // namespace ann
@@ -154,6 +154,7 @@ class ConnectionTraits<
public:
static const bool IsSelfConnection = false;
static const bool IsFullselfConnection = true;
static const bool IsPoolingConnection = false;
};
}; // namespace ann
@@ -159,6 +159,7 @@ class ConnectionTraits<
public:
static const bool IsSelfConnection = true;
static const bool IsFullselfConnection = false;
static const bool IsPoolingConnection = false;
};
}; // namespace ann