You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Remove the monitor object from attached poller
99
+
/// Removes the monitor object from the attached poller.
100
100
/// </summary>
101
101
voidDetachFromPoller();
102
102
103
103
/// <summary>
104
-
/// Start monitor the socket, the method doesn't start a new thread and will block until the monitor poll is stopped
104
+
/// Starts monitoring the socket. This method doesn't start a new thread and will block until the monitor poll is stopped.
105
105
/// </summary>
106
106
/// <exception cref="InvalidOperationException">The Monitor must not have already started nor attached to a poller.</exception>
107
107
voidStart();
108
108
109
109
/// <summary>
110
-
/// Start a background task for the monitoring operation.
110
+
/// Starts a background task for the monitoring operation.
111
111
/// </summary>
112
-
/// <returns></returns>
112
+
/// <returns>A task representing the monitoring operation.</returns>
113
113
TaskStartAsync();
114
114
115
115
/// <summary>
116
-
/// Stop monitoring. Blocks until monitoring completed.
116
+
/// Stops monitoring. Blocks until monitoring completed.
117
117
/// </summary>
118
-
/// <exception cref="InvalidOperationException">If this monitor is attached to a poller you must detach it first and not use the stop method.</exception>
118
+
/// <exception cref="InvalidOperationException">If this monitor is attached to a poller you must detach it first and not use the <see cref="Stop"/> method.</exception>
/// Start monitor the socket, the method doesn't start a new thread and will block until the monitor poll is stopped
265
-
/// </summary>
266
-
/// <exception cref="InvalidOperationException">The Monitor must not have already started nor attached to a poller.</exception>
219
+
/// <inheritdoc />
267
220
publicvoidStart()
268
221
{
269
222
if(IsRunning)
@@ -287,10 +240,7 @@ public void Start()
287
240
}
288
241
}
289
242
290
-
/// <summary>
291
-
/// Start a background task for the monitoring operation.
292
-
/// </summary>
293
-
/// <returns></returns>
243
+
/// <inheritdoc />
294
244
publicTaskStartAsync()
295
245
{
296
246
if(IsRunning)
@@ -302,10 +252,7 @@ public Task StartAsync()
302
252
returnTask.Factory.StartNew(Start);
303
253
}
304
254
305
-
/// <summary>
306
-
/// Stop monitoring. Blocks until monitoring completed.
307
-
/// </summary>
308
-
/// <exception cref="InvalidOperationException">If this monitor is attached to a poller you must detach it first and not use the stop method.</exception>
0 commit comments