summaryrefslogtreecommitdiffstats
path: root/common/clientapi.h
diff options
context:
space:
mode:
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}