@@ -55,7 +55,7 @@ using PublishSdiiResponse =
5555 client::ApiResponse<PublishSdiiResult, client::ApiError>;
5656using PublishSdiiCallback = std::function<void (PublishSdiiResponse response)>;
5757
58- // / @brief Client responsible for writing data to a HERE platform stream layer.
58+ // / Publishes data to a stream layer.
5959class DATASERVICE_WRITE_API StreamLayerClient {
6060 public:
6161 // / An alias for the flush response.
@@ -65,14 +65,14 @@ class DATASERVICE_WRITE_API StreamLayerClient {
6565 using FlushCallback = std::function<void (FlushResponse response)>;
6666
6767 /* *
68- * @brief StreamLayerClient Constructor .
69- * @param catalog The HRN that specifies the catalog to which this client
70- * writes.
71- * @param client_settings \c StreamLayerClient settings used to control
72- * the behaviour of flush mechanism and other StreamLayerClient specific
68+ * @brief Creates the ` StreamLayerClient` insatnce .
69+ *
70+ * @param catalog The HRN of the catalog to which this client writes.
71+ * @param client_settings The ` StreamLayerClient` settings used to control
72+ * the behavior of the flush mechanism and other ` StreamLayerClient`
7373 * properties.
74- * @param settings Client settings used to control behaviour of this
75- * StreamLayerClient instance.
74+ * @param settings The client settings used to control the behavior
75+ * of the client instance.
7676 */
7777 StreamLayerClient (client::HRN catalog,
7878 StreamLayerClientSettings client_settings,
@@ -81,93 +81,105 @@ class DATASERVICE_WRITE_API StreamLayerClient {
8181 /* *
8282 * @brief Cancels all the ongoing publish operations that this client started.
8383 *
84- * Returns instantly and does not wait for the callbacks.
84+ * Returns instantly and does not wait for callbacks.
8585 * Use this operation to cancel all the pending publish requests without
8686 * destroying the actual client instance.
87- * @note This operation does not cancel publish requests queued by the \ref
88- * Queue method.
87+ *
88+ * @note This operation does not cancel publish requests queued by the
89+ * `Queue` method.
8990 */
9091 void CancelPendingRequests ();
9192
9293 /* *
93- * @brief Publishes data to a stream layer.
94- * @note Content-Type for this request is implicitly based on the
95- * layer metadata for the target layer on the HERE platform.
96- * @param request PublishDataRequest object that represents the parameters for
97- * this PublishData call.
98- * @return CancellableFuture that contains the PublishDataResponse.
94+ * @brief Publishes data to the stream layer.
95+ *
96+ * @note The content-type for this request is set implicitly based on
97+ * the layer metadata of the target layer.
98+ *
99+ * @param request The `PublishDataRequest` object.
100+ *
101+ * @return `CancellableFuture` that contains `PublishDataResponse`.
99102 */
100103 olp::client::CancellableFuture<PublishDataResponse> PublishData (
101104 model::PublishDataRequest request);
102105
103106 /* *
104- * @brief Publishes data to a stream layer.
105- * @note Content-Type for this request is set implicitly based on the
106- * layer metadata for the target layer on the HERE platform.
107- * @param request PublishDataRequest object that represents the parameters for
108- * this PublishData call.
109- * @param callback PublishDataCallback that is called with the
110- * PublishDataResponse when the operation completes.
111- * @return CancellationToken that can be used to cancel the ongoing
107+ * @brief Publishes data to the stream layer.
108+ *
109+ * @note The content-type for this request is set implicitly based on
110+ * the layer metadata of the target layer.
111+ *
112+ * @param request The `PublishDataRequest` object.
113+ * @param callback `PublishDataCallback` that is called with
114+ * `PublishDataResponse` when the operation completes.
115+ *
116+ * @return `CancellationToken` that can be used to cancel the ongoing
112117 * request.
113118 */
114119 olp::client::CancellationToken PublishData (model::PublishDataRequest request,
115120 PublishDataCallback callback);
116121
117122 /* *
118- * @brief Enqueues a PublishDataRequest that is sent over the wire.
119- * @param request PublishDataRequest object that represents the parameters for
120- * the call.
121- * @return Optional boost that is boost::none if the queue call is
123+ * @brief Enqueues `PublishDataRequest` that is sent over the wire.
124+ *
125+ * @param request The `PublishDataRequest` object.
126+ *
127+ * @return An optional boost that is `boost::none` if the queue call is
122128 * successful. Otherwise, it contains a string with error details.
123129 */
124130 boost::optional<std::string> Queue (model::PublishDataRequest request);
125131
126132 /* *
127- * @brief Flush PublishDataRequests that were queued via the Queue
128- * API.
129- * @param request \c FlushRequest object thatr represents the parameters for
130- * this \c Flush method call.
131- * @return CancellableFuture that contains the FlushResponse.
133+ * @brief Flushes ` PublishDataRequests` that are queued via the Queue API.
134+ *
135+ * @param request The ` FlushRequest` object.
136+ *
137+ * @return ` CancellableFuture` that contains ` FlushResponse` .
132138 */
133139 olp::client::CancellableFuture<FlushResponse> Flush (
134140 model::FlushRequest request);
135141
136142 /* *
137- * @brief Flush PublishDataRequests that were queued via the Queue
138- * API.
139- * @param request \c FlushRequest object that represents the parameters for
140- * this \c Flush method call.
143+ * @brief Flushes `PublishDataRequests` that are queued via the Queue API.
144+ *
145+ * @param request The `FlushRequest` object.
141146 * @param callback The callback that is called when all the flush
142- * results (see \c FlushResponse) are available.
143- * @return CancellationToken that can be used to cancel the ongoing
147+ * results (see `FlushResponse`) are available.
148+ *
149+ * @return `CancellationToken` that can be used to cancel the ongoing
144150 * request.
145151 */
146152 olp::client::CancellationToken Flush (model::FlushRequest request,
147153 FlushCallback callback);
148154
149155 /* *
150156 * @brief Sends a list of SDII messages to a stream layer.
151- * The SDII message data must be in the SDII MessageList protobuf format. For
152- * more information, please see the HERE platform Sensor Data Ingestion Interface
157+ *
158+ * SDII message data must be in the SDII Message List protobuf format.
159+ * The maximum size is 20 MB.
160+ * For more information, see the HERE platform Sensor Data Ingestion Interface
153161 * documentation and schemas.
154- * @param request PublishSdiiRequest object that represents the parameters for
155- * this PublishSdii call.
156- * @return CancellableFuture that contains the PublishSdiiResponse.
162+ *
163+ * @param request The `PublishSdiiRequest` object.
164+ *
165+ * @return `CancellableFuture` that contains `PublishSdiiResponse`.
157166 */
158167 olp::client::CancellableFuture<PublishSdiiResponse> PublishSdii (
159168 model::PublishSdiiRequest request);
160169
161170 /* *
162171 * @brief Sends a list of SDII messages to a stream layer.
163- * The SDII message data must be in the SDII MessageList protobuf format. For
164- * more information, please see the HERE platform Sensor Data Ingestion Interface
172+ *
173+ * SDII message data must be in the SDII Message List protobuf format.
174+ * The maximum size is 20 MB.
175+ * For more information, see the HERE platform Sensor Data Ingestion Interface
165176 * documentation and schemas.
166- * @param request PublishSdiiRequest object that represents the parameters for
167- * this PublishSdii call.
168- * @param callback PublishSdiiCallback that is called with the
169- * PublishSdiiResponse when the operation completes.
170- * @return CancellationToken that can be used to cancel the ongoing
177+ *
178+ * @param request `PublishSdiiRequest` object.
179+ * @param callback `PublishSdiiCallback` that is called with
180+ * `PublishSdiiResponse` when the operation completes.
181+ *
182+ * @return `CancellationToken` that can be used to cancel the ongoing
171183 * request.
172184 */
173185 olp::client::CancellationToken PublishSdii (model::PublishSdiiRequest request,
0 commit comments