-
Notifications
You must be signed in to change notification settings - Fork 1
/
SelectableChannel.xml
682 lines (678 loc) · 45.8 KB
/
SelectableChannel.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
<Type Name="SelectableChannel" FullName="Java.Nio.Channels.SelectableChannel">
<TypeSignature Language="C#" Value="public abstract class SelectableChannel : Java.Nio.Channels.Spi.AbstractInterruptibleChannel, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit SelectableChannel extends Java.Nio.Channels.Spi.AbstractInterruptibleChannel implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class Java.IO.ICloseable, class Java.Nio.Channels.IChannel, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Java.Nio.Channels.SelectableChannel" />
<TypeSignature Language="F#" Value="type SelectableChannel = class
 inherit AbstractInterruptibleChannel
 interface IChannel
 interface ICloseable
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Nio.Channels.Spi.AbstractInterruptibleChannel</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.IO.ICloseable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Nio.Channels.IChannel</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("java/nio/channels/SelectableChannel", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("java/nio/channels/SelectableChannel", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>A channel that can be multiplexed via a <c>Selector</c>.</summary>
<remarks>
<para>A channel that can be multiplexed via a <c>Selector</c>.</para>
<para>In order to be used with a selector, an instance of this class must
first be <i>registered</i> via the <c>#register(Selector,int,Object)
register</c> method. This method returns a new <c>SelectionKey</c> object
that represents the channel's registration with the selector.</para>
<para>Once registered with a selector, a channel remains registered until it
is <i>deregistered</i>. This involves deallocating whatever resources were
allocated to the channel by the selector.</para>
<para>A channel cannot be deregistered directly; instead, the key representing
its registration must be <i>cancelled</i>. Cancelling a key requests that
the channel be deregistered during the selector's next selection operation.
A key may be cancelled explicitly by invoking its <c>SelectionKey#cancel() cancel</c> method. All of a channel's keys are cancelled
implicitly when the channel is closed, whether by invoking its <c>Channel#close close</c> method or by interrupting a thread blocked in an I/O
operation upon the channel.</para>
<para>If the selector itself is closed then the channel will be deregistered,
and the key representing its registration will be invalidated, without
further delay.</para>
<para>A channel may be registered at most once with any particular selector.</para>
<para>Whether or not a channel is registered with one or more selectors may be
determined by invoking the <c>#isRegistered isRegistered</c> method.</para>
<para>Selectable channels are safe for use by multiple concurrent
threads.</para>
<para>"bm"><h2>Blocking mode</h2>
A selectable channel is either in <i>blocking</i> mode or in
<i>non-blocking</i> mode. In blocking mode, every I/O operation invoked
upon the channel will block until it completes. In non-blocking mode an I/O
operation will never block and may transfer fewer bytes than were requested
or possibly no bytes at all. The blocking mode of a selectable channel may
be determined by invoking its <c>#isBlocking isBlocking</c> method.</para>
<para>Newly-created selectable channels are always in blocking mode.
Non-blocking mode is most useful in conjunction with selector-based
multiplexing. A channel must be placed into non-blocking mode before being
registered with a selector, and may not be returned to blocking mode until
it has been deregistered.</para>
<para>Added in 1.4.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/SelectableChannel" title="Reference documentation">Java documentation for <code>java.nio.channels.SelectableChannel</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected SelectableChannel ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.SelectableChannel.#ctor" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "()V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "()V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Initializes a new instance of this class.</summary>
<remarks>
<para>Initializes a new instance of this class.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/SelectableChannel#SelectableChannel()" title="Reference documentation">Java documentation for <code>java.nio.channels.SelectableChannel.SelectableChannel()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected SelectableChannel (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(native int javaReference, valuetype Android.Runtime.JniHandleOwnership transfer) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.SelectableChannel.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Java.Nio.Channels.SelectableChannel : nativeint * Android.Runtime.JniHandleOwnership -> Java.Nio.Channels.SelectableChannel" Usage="new Java.Nio.Channels.SelectableChannel (javaReference, transfer)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="javaReference" Type="System.IntPtr" />
<Parameter Name="transfer" Type="Android.Runtime.JniHandleOwnership" />
</Parameters>
<Docs>
<param name="javaReference">A <see cref="T:System.IntPtr" />containing a Java Native Interface (JNI) object reference.</param>
<param name="transfer">A <see cref="T:Android.Runtime.JniHandleOwnership" />indicating how to handle <paramref name="javaReference" /></param>
<summary>A constructor used when creating managed representations of JNI objects; called by the runtime.</summary>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="BlockingLock">
<MemberSignature Language="C#" Value="public abstract Java.Lang.Object? BlockingLock ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Lang.Object BlockingLock() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.SelectableChannel.BlockingLock" />
<MemberSignature Language="F#" Value="abstract member BlockingLock : unit -> Java.Lang.Object" Usage="selectableChannel.BlockingLock " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("blockingLock", "()Ljava/lang/Object;", "GetBlockingLockHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("blockingLock", "()Ljava/lang/Object;", "GetBlockingLockHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Retrieves the object upon which the <c>#configureBlocking
configureBlocking</c> and <c>#register register</c> methods synchronize.</summary>
<returns>The blocking-mode lock object</returns>
<remarks>
<para>Retrieves the object upon which the <c>#configureBlocking
configureBlocking</c> and <c>#register register</c> methods synchronize.
This is often useful in the implementation of adaptors that require a
specific blocking mode to be maintained for a short period of time.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/SelectableChannel#blockingLock()" title="Reference documentation">Java documentation for <code>java.nio.channels.SelectableChannel.blockingLock()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="ConfigureBlocking">
<MemberSignature Language="C#" Value="public abstract Java.Nio.Channels.SelectableChannel? ConfigureBlocking (bool block);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Nio.Channels.SelectableChannel ConfigureBlocking(bool block) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.SelectableChannel.ConfigureBlocking(System.Boolean)" />
<MemberSignature Language="F#" Value="abstract member ConfigureBlocking : bool -> Java.Nio.Channels.SelectableChannel" Usage="selectableChannel.ConfigureBlocking block" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("configureBlocking", "(Z)Ljava/nio/channels/SelectableChannel;", "GetConfigureBlocking_ZHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("configureBlocking", "(Z)Ljava/nio/channels/SelectableChannel;", "GetConfigureBlocking_ZHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Nio.Channels.SelectableChannel</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="block" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="block">If <c>true</c> then this channel will be placed in
blocking mode; if <c>false</c> then it will be placed
non-blocking mode</param>
<summary>Adjusts this channel's blocking mode.</summary>
<returns>This selectable channel</returns>
<remarks>
<para>Adjusts this channel's blocking mode.</para>
<para>If this channel is registered with one or more selectors then an
attempt to place it into blocking mode will cause an <c>IllegalBlockingModeException</c> to be thrown.</para>
<para>This method may be invoked at any time. The new blocking mode will
only affect I/O operations that are initiated after this method returns.
For some implementations this may require blocking until all pending I/O
operations are complete.</para>
<para>If this method is invoked while another invocation of this method or
of the <c>#register(Selector, int) register</c> method is in progress
then it will first block until the other operation is complete.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/SelectableChannel#configureBlocking(boolean)" title="Reference documentation">Java documentation for <code>java.nio.channels.SelectableChannel.configureBlocking(boolean)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.Nio.Channels.ClosedChannelException">if this channel is closed.</exception>
<exception cref="T:Java.Nio.Channels.IllegalBlockingModeException">if <c>block</c> is <c>true</c> and this channel has been
registered with at least one selector.</exception>
<exception cref="T:Java.IO.IOException">if an I/O error occurs.
</exception>
</Docs>
</Member>
<Member MemberName="IsBlocking">
<MemberSignature Language="C#" Value="public abstract bool IsBlocking { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsBlocking" />
<MemberSignature Language="DocId" Value="P:Java.Nio.Channels.SelectableChannel.IsBlocking" />
<MemberSignature Language="F#" Value="member this.IsBlocking : bool" Usage="Java.Nio.Channels.SelectableChannel.IsBlocking" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("isBlocking", "()Z", "GetIsBlockingHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("isBlocking", "()Z", "GetIsBlockingHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Indicates whether this channel is in blocking mode.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="IsRegistered">
<MemberSignature Language="C#" Value="public abstract bool IsRegistered { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsRegistered" />
<MemberSignature Language="DocId" Value="P:Java.Nio.Channels.SelectableChannel.IsRegistered" />
<MemberSignature Language="F#" Value="member this.IsRegistered : bool" Usage="Java.Nio.Channels.SelectableChannel.IsRegistered" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("isRegistered", "()Z", "GetIsRegisteredHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("isRegistered", "()Z", "GetIsRegisteredHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Indicates whether this channel is registered with at least one selector.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="JniPeerMembers">
<MemberSignature Language="C#" Value="public override Java.Interop.JniPeerMembers JniPeerMembers { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Interop.JniPeerMembers JniPeerMembers" />
<MemberSignature Language="DocId" Value="P:Java.Nio.Channels.SelectableChannel.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Java.Nio.Channels.SelectableChannel.JniPeerMembers" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:Java.Interop.IJavaPeerable.JniPeerMembers</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Interop.JniPeerMembers</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="KeyFor">
<MemberSignature Language="C#" Value="public abstract Java.Nio.Channels.SelectionKey? KeyFor (Java.Nio.Channels.Selector? sel);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Nio.Channels.SelectionKey KeyFor(class Java.Nio.Channels.Selector sel) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.SelectableChannel.KeyFor(Java.Nio.Channels.Selector)" />
<MemberSignature Language="F#" Value="abstract member KeyFor : Java.Nio.Channels.Selector -> Java.Nio.Channels.SelectionKey" Usage="selectableChannel.KeyFor sel" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("keyFor", "(Ljava/nio/channels/Selector;)Ljava/nio/channels/SelectionKey;", "GetKeyFor_Ljava_nio_channels_Selector_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("keyFor", "(Ljava/nio/channels/Selector;)Ljava/nio/channels/SelectionKey;", "GetKeyFor_Ljava_nio_channels_Selector_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Nio.Channels.SelectionKey</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="sel" Type="Java.Nio.Channels.Selector" />
</Parameters>
<Docs>
<param name="sel">The selector</param>
<summary>Retrieves the key representing the channel's registration with the given
selector.</summary>
<returns>The key returned when this channel was last registered with the
given selector, or <c>null</c> if this channel is not
currently registered with that selector</returns>
<remarks>
<para>Retrieves the key representing the channel's registration with the given
selector.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/SelectableChannel#keyFor(java.nio.channels.Selector)" title="Reference documentation">Java documentation for <code>java.nio.channels.SelectableChannel.keyFor(java.nio.channels.Selector)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="Provider">
<MemberSignature Language="C#" Value="public abstract Java.Nio.Channels.Spi.SelectorProvider? Provider ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Nio.Channels.Spi.SelectorProvider Provider() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.SelectableChannel.Provider" />
<MemberSignature Language="F#" Value="abstract member Provider : unit -> Java.Nio.Channels.Spi.SelectorProvider" Usage="selectableChannel.Provider " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("provider", "()Ljava/nio/channels/spi/SelectorProvider;", "GetProviderHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("provider", "()Ljava/nio/channels/spi/SelectorProvider;", "GetProviderHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Nio.Channels.Spi.SelectorProvider</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the provider that created this channel.</summary>
<returns>The provider that created this channel</returns>
<remarks>
<para>Returns the provider that created this channel.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/SelectableChannel#provider()" title="Reference documentation">Java documentation for <code>java.nio.channels.SelectableChannel.provider()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="Register">
<MemberSignature Language="C#" Value="public Java.Nio.Channels.SelectionKey? Register (Java.Nio.Channels.Selector? sel, Java.Nio.Channels.Operations ops);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Java.Nio.Channels.SelectionKey Register(class Java.Nio.Channels.Selector sel, valuetype Java.Nio.Channels.Operations ops) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.SelectableChannel.Register(Java.Nio.Channels.Selector,Java.Nio.Channels.Operations)" />
<MemberSignature Language="F#" Value="member this.Register : Java.Nio.Channels.Selector * Java.Nio.Channels.Operations -> Java.Nio.Channels.SelectionKey" Usage="selectableChannel.Register (sel, ops)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("register", "(Ljava/nio/channels/Selector;I)Ljava/nio/channels/SelectionKey;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("register", "(Ljava/nio/channels/Selector;I)Ljava/nio/channels/SelectionKey;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Nio.Channels.SelectionKey</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="sel" Type="Java.Nio.Channels.Selector" />
<Parameter Name="ops" Type="Java.Nio.Channels.Operations">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="sel">The selector with which this channel is to be registered</param>
<param name="ops">The interest set for the resulting key</param>
<summary>Registers this channel with the given selector, returning a selection
key.</summary>
<returns>A key representing the registration of this channel with
the given selector</returns>
<remarks>
<para>Registers this channel with the given selector, returning a selection
key.</para>
<para>An invocation of this convenience method of the form
<blockquote><c>sc.register(sel, ops)</c></blockquote>
behaves in exactly the same way as the invocation
<blockquote><c>sc.</c><c>#register(java.nio.channels.Selector,int,java.lang.Object)
register(sel, ops, null)</c></blockquote></para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/SelectableChannel#register(java.nio.channels.Selector,%20int)" title="Reference documentation">Java documentation for <code>java.nio.channels.SelectableChannel.register(java.nio.channels.Selector, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.Nio.Channels.ClosedChannelException">if the channel is closed.</exception>
<exception cref="T:Java.Nio.Channels.IllegalBlockingModeException">if the channel is in blocking mode.</exception>
<exception cref="T:Java.Nio.Channels.IllegalSelectorException">if this channel does not have the same provider as the given
selector.</exception>
<exception cref="T:Java.Nio.Channels.CancelledKeyException">if this channel is registered but its key has been canceled.</exception>
<exception cref="T:Java.Lang.IllegalArgumentException">if the operation given is not supported by this channel.
</exception>
</Docs>
</Member>
<Member MemberName="Register">
<MemberSignature Language="C#" Value="public abstract Java.Nio.Channels.SelectionKey? Register (Java.Nio.Channels.Selector? sel, Java.Nio.Channels.Operations ops, Java.Lang.Object? att);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Nio.Channels.SelectionKey Register(class Java.Nio.Channels.Selector sel, valuetype Java.Nio.Channels.Operations ops, class Java.Lang.Object att) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.SelectableChannel.Register(Java.Nio.Channels.Selector,Java.Nio.Channels.Operations,Java.Lang.Object)" />
<MemberSignature Language="F#" Value="abstract member Register : Java.Nio.Channels.Selector * Java.Nio.Channels.Operations * Java.Lang.Object -> Java.Nio.Channels.SelectionKey" Usage="selectableChannel.Register (sel, ops, att)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("register", "(Ljava/nio/channels/Selector;ILjava/lang/Object;)Ljava/nio/channels/SelectionKey;", "GetRegister_Ljava_nio_channels_Selector_ILjava_lang_Object_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("register", "(Ljava/nio/channels/Selector;ILjava/lang/Object;)Ljava/nio/channels/SelectionKey;", "GetRegister_Ljava_nio_channels_Selector_ILjava_lang_Object_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Nio.Channels.SelectionKey</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="sel" Type="Java.Nio.Channels.Selector" />
<Parameter Name="ops" Type="Java.Nio.Channels.Operations">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="att" Type="Java.Lang.Object" />
</Parameters>
<Docs>
<param name="sel">The selector with which this channel is to be registered</param>
<param name="ops">The interest set for the resulting key</param>
<param name="att">The attachment for the resulting key; may be <c>null</c></param>
<summary>Registers this channel with the given selector, returning a selection
key.</summary>
<returns>A key representing the registration of this channel with
the given selector</returns>
<remarks>
<para>Registers this channel with the given selector, returning a selection
key.</para>
<para>If this channel is currently registered with the given selector then
the selection key representing that registration is returned. The key's
interest set will have been changed to <c>ops</c>, as if by invoking
the <c>SelectionKey#interestOps(int) interestOps(int)</c> method. If
the <c>att</c> argument is not <c>null</c> then the key's attachment
will have been set to that value. A <c>CancelledKeyException</c> will
be thrown if the key has already been cancelled.</para>
<para>Otherwise this channel has not yet been registered with the given
selector, so it is registered and the resulting new key is returned.
The key's initial interest set will be <c>ops</c> and its attachment
will be <c>att</c>.</para>
<para>This method may be invoked at any time. If this method is invoked
while a selection operation is in progress then it has no effect upon
that operation; the new registration or change to the key's interest set
will be seen by the next selection operation. If this method is invoked
while an invocation of <c>#configureBlocking(boolean) configureBlocking</c>
is in progress then it will block until the channel's blocking mode has
been adjusted.</para>
<para>If this channel is closed while this operation is in progress then
the key returned by this method will have been cancelled and will
therefore be invalid.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/SelectableChannel#register(java.nio.channels.Selector,%20int,%20java.lang.Object)" title="Reference documentation">Java documentation for <code>java.nio.channels.SelectableChannel.register(java.nio.channels.Selector, int, java.lang.Object)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.Nio.Channels.ClosedChannelException">if this channel is closed.</exception>
<exception cref="T:Java.Lang.IllegalArgumentException">if <c>ops</c> is not supported by this channel.</exception>
<exception cref="T:Java.Nio.Channels.IllegalBlockingModeException">if this channel is in blocking mode.</exception>
<exception cref="T:Java.Nio.Channels.IllegalSelectorException">if this channel does not have the same provider as the given
selector.</exception>
<exception cref="T:Java.Nio.Channels.CancelledKeyException">if this channel is registered but its key has been canceled.
</exception>
</Docs>
</Member>
<Member MemberName="ThresholdClass">
<MemberSignature Language="C#" Value="protected override IntPtr ThresholdClass { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance native int ThresholdClass" />
<MemberSignature Language="DocId" Value="P:Java.Nio.Channels.SelectableChannel.ThresholdClass" />
<MemberSignature Language="F#" Value="member this.ThresholdClass : nativeint" Usage="Java.Nio.Channels.SelectableChannel.ThresholdClass" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.</summary>
<value>A <see cref="T:System.IntPtr" /> which contains the <c>java.lang.Class</c> JNI value corresponding to this type.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ThresholdType">
<MemberSignature Language="C#" Value="protected override Type ThresholdType { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Type ThresholdType" />
<MemberSignature Language="DocId" Value="P:Java.Nio.Channels.SelectableChannel.ThresholdType" />
<MemberSignature Language="F#" Value="member this.ThresholdType : Type" Usage="Java.Nio.Channels.SelectableChannel.ThresholdType" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Docs>
<summary>This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.</summary>
<value>A <see cref="T:System.Type" /> which provides the declaring type.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ValidOps">
<MemberSignature Language="C#" Value="public abstract Java.Nio.Channels.Operations ValidOps ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype Java.Nio.Channels.Operations ValidOps() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.SelectableChannel.ValidOps" />
<MemberSignature Language="F#" Value="abstract member ValidOps : unit -> Java.Nio.Channels.Operations" Usage="selectableChannel.ValidOps " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("validOps", "()I", "GetValidOpsHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("validOps", "()I", "GetValidOpsHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Nio.Channels.Operations</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns an operation set
identifying this channel's supported operations.</summary>
<returns>The valid-operation set</returns>
<remarks>
<para>Returns an operation set
identifying this channel's supported operations. The bits that are set
in this integer value denote exactly the operations that are valid for
this channel. This method always returns the same value for a given
concrete channel class.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/SelectableChannel#validOps()" title="Reference documentation">Java documentation for <code>java.nio.channels.SelectableChannel.validOps()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
</Members>
</Type>