mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 11:25:33 +08:00
refs #485 URL/URL list
* added constructor for CUrlList * added registration of metadata of fail over class * default port support for getPort
This commit is contained in:
committed by
Mathew Sutcliffe
parent
ce3edc37d0
commit
92a36890eb
@@ -90,6 +90,9 @@ namespace BlackMisc
|
||||
//! Construct from a base class object.
|
||||
CFailoverUrlList(const CSequence<CUrl> &other, int maxTrials = 2);
|
||||
|
||||
//! From url list
|
||||
CFailoverUrlList(const CUrlList &urlIst);
|
||||
|
||||
//! All failed URLs
|
||||
const CUrlList &getFailedUrls() const { return m_failedUrls; }
|
||||
|
||||
@@ -117,6 +120,7 @@ namespace BlackMisc
|
||||
} // namespace
|
||||
|
||||
Q_DECLARE_METATYPE(BlackMisc::Network::CUrlList)
|
||||
Q_DECLARE_METATYPE(BlackMisc::Network::CFailoverUrlList)
|
||||
Q_DECLARE_METATYPE(BlackMisc::CCollection<BlackMisc::Network::CUrl>)
|
||||
Q_DECLARE_METATYPE(BlackMisc::CSequence<BlackMisc::Network::CUrl>)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user