summaryrefslogtreecommitdiffstats
path: root/common/clientapi.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-02-10 08:51:25 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-02-10 08:55:40 +0100
commit660ee77c9875ad71d4189e8643f679f574687528 (patch)
treefefb5374c8f99242dfbe1abd37de4e93ccb1dfb3 /common/clientapi.h
parent4ee8a44bf4dda625b4d2f58f127869557c1af959 (diff)
downloadsink-660ee77c9875ad71d4189e8643f679f574687528.tar.gz
sink-660ee77c9875ad71d4189e8643f679f574687528.zip
Renamed Resources to ResourceControl
Diffstat (limited to 'common/clientapi.h')
-rw-r--r--common/clientapi.h26
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
114namespace Resources { 114namespace ResourceControl {
115 115
116template <class DomainType> 116template <class DomainType>
117KAsync::Job<void> SINK_EXPORT inspect(const Inspection &inspectionCommand); 117KAsync::Job<void> SINK_EXPORT inspect(const Inspection &inspectionCommand);
118 118
119/** 119/**
120 * Shutdown resource. 120 * Shutdown resource.
121 */ 121 */
122KAsync::Job<void> SINK_EXPORT shutdown(const QByteArray &resourceIdentifier); 122KAsync::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 */
131KAsync::Job<void> SINK_EXPORT start(const QByteArray &resourceIdentifier); 131KAsync::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 */
136KAsync::Job<void> SINK_EXPORT flushMessageQueue(const QByteArrayList &resourceIdentifier); 136KAsync::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 */
141KAsync::Job<void> SINK_EXPORT flushReplayQueue(const QByteArrayList &resourceIdentifier); 141KAsync::Job<void> SINK_EXPORT flushReplayQueue(const QByteArrayList &resourceIdentifier);
142 142
143} 143}