diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-10 08:51:25 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-10 08:55:40 +0100 |
commit | 660ee77c9875ad71d4189e8643f679f574687528 (patch) | |
tree | fefb5374c8f99242dfbe1abd37de4e93ccb1dfb3 /common/clientapi.h | |
parent | 4ee8a44bf4dda625b4d2f58f127869557c1af959 (diff) | |
download | sink-660ee77c9875ad71d4189e8643f679f574687528.tar.gz sink-660ee77c9875ad71d4189e8643f679f574687528.zip |
Renamed Resources to ResourceControl
Diffstat (limited to 'common/clientapi.h')
-rw-r--r-- | common/clientapi.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/common/clientapi.h b/common/clientapi.h index fb44ca2..2b49826 100644 --- a/common/clientapi.h +++ b/common/clientapi.h | |||
@@ -111,33 +111,33 @@ KAsync::Job<QList<typename DomainType::Ptr> > SINK_EXPORT fetch(const Sink::Quer | |||
111 | 111 | ||
112 | }; | 112 | }; |
113 | 113 | ||
114 | namespace Resources { | 114 | namespace ResourceControl { |
115 | 115 | ||
116 | template <class DomainType> | 116 | template <class DomainType> |
117 | KAsync::Job<void> SINK_EXPORT inspect(const Inspection &inspectionCommand); | 117 | KAsync::Job<void> SINK_EXPORT inspect(const Inspection &inspectionCommand); |
118 | 118 | ||
119 | /** | 119 | /** |
120 | * Shutdown resource. | 120 | * Shutdown resource. |
121 | */ | 121 | */ |
122 | KAsync::Job<void> SINK_EXPORT shutdown(const QByteArray &resourceIdentifier); | 122 | KAsync::Job<void> SINK_EXPORT shutdown(const QByteArray &resourceIdentifier); |
123 | 123 | ||
124 | /** | 124 | /** |
125 | * Start resource. | 125 | * Start resource. |
126 | * | 126 | * |
127 | * The resource is ready for operation once this command completes. | 127 | * The resource is ready for operation once this command completes. |
128 | * This command is only necessary if a resource was shutdown previously, | 128 | * This command is only necessary if a resource was shutdown previously, |
129 | * otherwise the resource process will automatically start as necessary. | 129 | * otherwise the resource process will automatically start as necessary. |
130 | */ | 130 | */ |
131 | KAsync::Job<void> SINK_EXPORT start(const QByteArray &resourceIdentifier); | 131 | KAsync::Job<void> SINK_EXPORT start(const QByteArray &resourceIdentifier); |
132 | 132 | ||
133 | /** | 133 | /** |
134 | * Flushes any pending messages to disk | 134 | * Flushes any pending messages to disk |
135 | */ | 135 | */ |
136 | KAsync::Job<void> SINK_EXPORT flushMessageQueue(const QByteArrayList &resourceIdentifier); | 136 | KAsync::Job<void> SINK_EXPORT flushMessageQueue(const QByteArrayList &resourceIdentifier); |
137 | 137 | ||
138 | /** | 138 | /** |
139 | * Flushes any pending messages that haven't been replayed to the source. | 139 | * Flushes any pending messages that haven't been replayed to the source. |
140 | */ | 140 | */ |
141 | KAsync::Job<void> SINK_EXPORT flushReplayQueue(const QByteArrayList &resourceIdentifier); | 141 | KAsync::Job<void> SINK_EXPORT flushReplayQueue(const QByteArrayList &resourceIdentifier); |
142 | 142 | ||
143 | } | 143 | } |