-
Notifications
You must be signed in to change notification settings - Fork 0
/
ServerSocketChannel.xml
641 lines (641 loc) · 43.3 KB
/
ServerSocketChannel.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
<Type Name="ServerSocketChannel" FullName="Java.Nio.Channels.ServerSocketChannel">
<TypeSignature Language="C#" Value="public abstract class ServerSocketChannel : Java.Nio.Channels.Spi.AbstractSelectableChannel" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit ServerSocketChannel extends Java.Nio.Channels.Spi.AbstractSelectableChannel" />
<TypeSignature Language="DocId" Value="T:Java.Nio.Channels.ServerSocketChannel" />
<TypeSignature Language="F#" Value="type ServerSocketChannel = class
 inherit AbstractSelectableChannel" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Nio.Channels.Spi.AbstractSelectableChannel</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("java/nio/channels/ServerSocketChannel", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("java/nio/channels/ServerSocketChannel", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>A selectable channel for stream-oriented listening sockets.</summary>
<remarks>
<para>A selectable channel for stream-oriented listening sockets.</para>
<para>A server-socket channel is created by invoking the <c>#open() open</c>
method of this class. It is not possible to create a channel for an arbitrary,
pre-existing <c>ServerSocket</c>. A newly-created server-socket channel is
open but not yet bound. An attempt to invoke the <c>#accept() accept</c>
method of an unbound server-socket channel will cause a <c>NotYetBoundException</c>
to be thrown. A server-socket channel can be bound by invoking one of the
<c>#bind(java.net.SocketAddress,int) bind</c> methods defined by this class.</para>
<para>Socket options are configured using the <c>#setOption(SocketOption,Object)
setOption</c> method. Server-socket channels support the following options:
<blockquote>
<table class="striped">
<caption style="display:none">Socket options</caption>
<thead>
<tr>
<th scope="col">Option Name</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row"> <c>java.net.StandardSocketOptions#SO_RCVBUF SO_RCVBUF</c></th>
<td> The size of the socket receive buffer </td>
</tr>
<tr>
<th scope="row"> <c>java.net.StandardSocketOptions#SO_REUSEADDR SO_REUSEADDR</c></th>
<td> Re-use address </td>
</tr>
</tbody>
</table>
</blockquote>
Additional (implementation specific) options may also be supported.</para>
<para>Server-socket channels are safe for use by multiple concurrent threads.</para>
<para>Added in 1.4.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/ServerSocketChannel" title="Reference documentation">Java documentation for <code>java.nio.channels.ServerSocketChannel</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 ServerSocketChannel (Java.Nio.Channels.Spi.SelectorProvider? provider);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class Java.Nio.Channels.Spi.SelectorProvider provider) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.ServerSocketChannel.#ctor(Java.Nio.Channels.Spi.SelectorProvider)" />
<MemberSignature Language="F#" Value="new Java.Nio.Channels.ServerSocketChannel : Java.Nio.Channels.Spi.SelectorProvider -> Java.Nio.Channels.ServerSocketChannel" Usage="new Java.Nio.Channels.ServerSocketChannel provider" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(Ljava/nio/channels/spi/SelectorProvider;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(Ljava/nio/channels/spi/SelectorProvider;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="provider" Type="Java.Nio.Channels.Spi.SelectorProvider" />
</Parameters>
<Docs>
<param name="provider">The provider that created this channel</param>
<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/ServerSocketChannel#ServerSocketChannel(java.nio.channels.spi.SelectorProvider)" title="Reference documentation">Java documentation for <code>java.nio.channels.ServerSocketChannel.ServerSocketChannel(java.nio.channels.spi.SelectorProvider)</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 ServerSocketChannel (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.ServerSocketChannel.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Java.Nio.Channels.ServerSocketChannel : nativeint * Android.Runtime.JniHandleOwnership -> Java.Nio.Channels.ServerSocketChannel" Usage="new Java.Nio.Channels.ServerSocketChannel (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="Accept">
<MemberSignature Language="C#" Value="public abstract Java.Nio.Channels.SocketChannel? Accept ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Nio.Channels.SocketChannel Accept() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.ServerSocketChannel.Accept" />
<MemberSignature Language="F#" Value="abstract member Accept : unit -> Java.Nio.Channels.SocketChannel" Usage="serverSocketChannel.Accept " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("accept", "()Ljava/nio/channels/SocketChannel;", "GetAcceptHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("accept", "()Ljava/nio/channels/SocketChannel;", "GetAcceptHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Nio.Channels.SocketChannel</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Accepts a connection made to this channel's socket.</summary>
<returns>The socket channel for the new connection,
or <c>null</c> if this channel is in non-blocking mode
and no connection is available to be accepted</returns>
<remarks>
<para>Accepts a connection made to this channel's socket.</para>
<para>If this channel is in non-blocking mode then this method will
immediately return <c>null</c> if there are no pending connections.
Otherwise it will block indefinitely until a new connection is available
or an I/O error occurs.</para>
<para>The socket channel returned by this method, if any, will be in
blocking mode regardless of the blocking mode of this channel.</para>
<para>This method performs exactly the same security checks as the <c>java.net.ServerSocket#accept accept</c> method of the <c>java.net.ServerSocket</c> class. That is, if a security manager has been
installed then for each new connection this method verifies that the
address and port number of the connection's remote endpoint are
permitted by the security manager's <c>java.lang.SecurityManager#checkAccept checkAccept</c> method.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/ServerSocketChannel#accept()" title="Reference documentation">Java documentation for <code>java.nio.channels.ServerSocketChannel.accept()</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.AsynchronousCloseException">if this channel is closed by another thread while this method
is in operation.</exception>
<exception cref="T:Java.Nio.Channels.ClosedByInterruptException">if another thread interrupts the calling thread while this
operation is in progress. The interrupt state of the calling
thread is set and the channel is closed.</exception>
<exception cref="T:Java.Nio.Channels.ClosedChannelException">if this channel is closed.</exception>
<exception cref="T:Java.IO.IOException">if another I/O error occurs.</exception>
<exception cref="T:Java.Nio.Channels.NotYetBoundException">if the socket has not yet been bound.
</exception>
</Docs>
</Member>
<Member MemberName="AcceptAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<Java.Nio.Channels.SocketChannel?> AcceptAsync ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Threading.Tasks.Task`1<class Java.Nio.Channels.SocketChannel> AcceptAsync() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.ServerSocketChannel.AcceptAsync" />
<MemberSignature Language="F#" Value="member this.AcceptAsync : unit -> System.Threading.Tasks.Task<Java.Nio.Channels.SocketChannel>" Usage="serverSocketChannel.AcceptAsync " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Java.Nio.Channels.SocketChannel></ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<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="Bind">
<MemberSignature Language="C#" Value="public Java.Nio.Channels.ServerSocketChannel? Bind (Java.Net.SocketAddress? local);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Java.Nio.Channels.ServerSocketChannel Bind(class Java.Net.SocketAddress local) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.ServerSocketChannel.Bind(Java.Net.SocketAddress)" />
<MemberSignature Language="F#" Value="member this.Bind : Java.Net.SocketAddress -> Java.Nio.Channels.ServerSocketChannel" Usage="serverSocketChannel.Bind local" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("bind", "(Ljava/net/SocketAddress;)Ljava/nio/channels/ServerSocketChannel;", "", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("bind", "(Ljava/net/SocketAddress;)Ljava/nio/channels/ServerSocketChannel;", "", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Nio.Channels.ServerSocketChannel</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="local" Type="Java.Net.SocketAddress" />
</Parameters>
<Docs>
<param name="local">The local address to bind the socket, or <c>null</c> to bind
to an automatically assigned socket address</param>
<summary>Binds the channel's socket to a local address and configures the socket
to listen for connections.</summary>
<returns>This channel</returns>
<remarks>
<para>Binds the channel's socket to a local address and configures the socket
to listen for connections.</para>
<para>An invocation of this method is equivalent to the following:
<blockquote></para>
<code lang="text/java">bind(local, 0);
</code>
<para></blockquote></para>
<para>Added in 1.7.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/ServerSocketChannel#bind(java.net.SocketAddress)" title="Reference documentation">Java documentation for <code>java.nio.channels.ServerSocketChannel.bind(java.net.SocketAddress)</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>
</Docs>
</Member>
<Member MemberName="Bind">
<MemberSignature Language="C#" Value="public abstract Java.Nio.Channels.ServerSocketChannel? Bind (Java.Net.SocketAddress? local, int backlog);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Nio.Channels.ServerSocketChannel Bind(class Java.Net.SocketAddress local, int32 backlog) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.ServerSocketChannel.Bind(Java.Net.SocketAddress,System.Int32)" />
<MemberSignature Language="F#" Value="abstract member Bind : Java.Net.SocketAddress * int -> Java.Nio.Channels.ServerSocketChannel" Usage="serverSocketChannel.Bind (local, backlog)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("bind", "(Ljava/net/SocketAddress;I)Ljava/nio/channels/ServerSocketChannel;", "GetBind_Ljava_net_SocketAddress_IHandler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("bind", "(Ljava/net/SocketAddress;I)Ljava/nio/channels/ServerSocketChannel;", "GetBind_Ljava_net_SocketAddress_IHandler", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Nio.Channels.ServerSocketChannel</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="local" Type="Java.Net.SocketAddress" />
<Parameter Name="backlog" Type="System.Int32" />
</Parameters>
<Docs>
<param name="local">The address to bind the socket, or <c>null</c> to bind to an
automatically assigned socket address</param>
<param name="backlog">The maximum number of pending connections</param>
<summary>Binds the channel's socket to a local address and configures the socket to
listen for connections.</summary>
<returns>This channel</returns>
<remarks>
<para>Binds the channel's socket to a local address and configures the socket to
listen for connections.</para>
<para>This method is used to establish an association between the socket and
a local address. Once an association is established then the socket remains
bound until the channel is closed.</para>
<para>The <c>backlog</c> parameter is the maximum number of pending
connections on the socket. Its exact semantics are implementation specific.
In particular, an implementation may impose a maximum length or may choose
to ignore the parameter altogther. If the <c>backlog</c> parameter has
the value <c>0</c>, or a negative value, then an implementation specific
default is used.</para>
<para>Added in 1.7.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/ServerSocketChannel#bind(java.net.SocketAddress,%20int)" title="Reference documentation">Java documentation for <code>java.nio.channels.ServerSocketChannel.bind(java.net.SocketAddress, 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>
</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.ServerSocketChannel.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Java.Nio.Channels.ServerSocketChannel.JniPeerMembers" />
<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>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="LocalAddress">
<MemberSignature Language="C#" Value="public abstract Java.Net.SocketAddress? LocalAddress { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Net.SocketAddress LocalAddress" />
<MemberSignature Language="DocId" Value="P:Java.Nio.Channels.ServerSocketChannel.LocalAddress" />
<MemberSignature Language="F#" Value="member this.LocalAddress : Java.Net.SocketAddress" Usage="Java.Nio.Channels.ServerSocketChannel.LocalAddress" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getLocalAddress", "()Ljava/net/SocketAddress;", "GetGetLocalAddressHandler", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getLocalAddress", "()Ljava/net/SocketAddress;", "GetGetLocalAddressHandler", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Net.SocketAddress</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="Open">
<MemberSignature Language="C#" Value="public static Java.Nio.Channels.ServerSocketChannel? Open ();" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Java.Nio.Channels.ServerSocketChannel Open() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.ServerSocketChannel.Open" />
<MemberSignature Language="F#" Value="static member Open : unit -> Java.Nio.Channels.ServerSocketChannel" Usage="Java.Nio.Channels.ServerSocketChannel.Open " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("open", "()Ljava/nio/channels/ServerSocketChannel;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("open", "()Ljava/nio/channels/ServerSocketChannel;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Nio.Channels.ServerSocketChannel</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Opens a server-socket channel.</summary>
<returns>A new socket channel</returns>
<remarks>
<para>Opens a server-socket channel.</para>
<para>The new channel is created by invoking the <c>java.nio.channels.spi.SelectorProvider#openServerSocketChannel
openServerSocketChannel</c> method of the system-wide default <c>java.nio.channels.spi.SelectorProvider</c> object.</para>
<para>The new channel's socket is initially unbound; it must be bound to a
specific address via one of its socket's <c>java.net.ServerSocket#bind(SocketAddress) bind</c> methods before
connections can be accepted.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/ServerSocketChannel#open()" title="Reference documentation">Java documentation for <code>java.nio.channels.ServerSocketChannel.open()</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.IO.IOException">if an I/O error occurs.
</exception>
</Docs>
</Member>
<Member MemberName="SetOption">
<MemberSignature Language="C#" Value="public abstract Java.Nio.Channels.ServerSocketChannel? SetOption (Java.Net.ISocketOption? name, Java.Lang.Object? value);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Nio.Channels.ServerSocketChannel SetOption(class Java.Net.ISocketOption name, class Java.Lang.Object value) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.ServerSocketChannel.SetOption(Java.Net.ISocketOption,Java.Lang.Object)" />
<MemberSignature Language="F#" Value="abstract member SetOption : Java.Net.ISocketOption * Java.Lang.Object -> Java.Nio.Channels.ServerSocketChannel" Usage="serverSocketChannel.SetOption (name, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setOption", "(Ljava/net/SocketOption;Ljava/lang/Object;)Ljava/nio/channels/ServerSocketChannel;", "GetSetOption_Ljava_net_SocketOption_Ljava_lang_Object_Handler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setOption", "(Ljava/net/SocketOption;Ljava/lang/Object;)Ljava/nio/channels/ServerSocketChannel;", "GetSetOption_Ljava_net_SocketOption_Ljava_lang_Object_Handler", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]</AttributeName>
<AttributeName Language="F#">[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Nio.Channels.ServerSocketChannel</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="Java.Net.ISocketOption" />
<Parameter Name="value" Type="Java.Lang.Object" />
</Parameters>
<Docs>
<param name="name">To be added.</param>
<param name="value">To be added.</param>
<summary>Added in 1.</summary>
<returns>To be added.</returns>
<remarks>
<para>Added in 1.7.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/ServerSocketChannel#setOption(java.net.SocketOption%3CT%3E,%20T)" title="Reference documentation">Java documentation for <code>java.nio.channels.ServerSocketChannel.setOption(java.net.SocketOption<T>, T)</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>
</Docs>
</Member>
<Member MemberName="Socket">
<MemberSignature Language="C#" Value="public abstract Java.Net.ServerSocket? Socket ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Net.ServerSocket Socket() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.ServerSocketChannel.Socket" />
<MemberSignature Language="F#" Value="abstract member Socket : unit -> Java.Net.ServerSocket" Usage="serverSocketChannel.Socket " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("socket", "()Ljava/net/ServerSocket;", "GetSocketHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("socket", "()Ljava/net/ServerSocket;", "GetSocketHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Net.ServerSocket</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Retrieves a server socket associated with this channel.</summary>
<returns>A server socket associated with this channel</returns>
<remarks>
<para>Retrieves a server socket associated with this channel.</para>
<para>The returned object will not declare any public methods that are not
declared in the <c>java.net.ServerSocket</c> class.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/ServerSocketChannel#socket()" title="Reference documentation">Java documentation for <code>java.nio.channels.ServerSocketChannel.socket()</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="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.ServerSocketChannel.ThresholdClass" />
<MemberSignature Language="F#" Value="member this.ThresholdClass : nativeint" Usage="Java.Nio.Channels.ServerSocketChannel.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.ServerSocketChannel.ThresholdType" />
<MemberSignature Language="F#" Value="member this.ThresholdType : Type" Usage="Java.Nio.Channels.ServerSocketChannel.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 override sealed Java.Nio.Channels.Operations ValidOps ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance valuetype Java.Nio.Channels.Operations ValidOps() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.Channels.ServerSocketChannel.ValidOps" />
<MemberSignature Language="F#" Value="override this.ValidOps : unit -> Java.Nio.Channels.Operations" Usage="serverSocketChannel.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", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("validOps", "()I", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Nio.Channels.Operations</ReturnType>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</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.</para>
<para>Server-socket channels only support the accepting of new
connections, so this method returns <c>SelectionKey#OP_ACCEPT</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/channels/ServerSocketChannel#validOps()" title="Reference documentation">Java documentation for <code>java.nio.channels.ServerSocketChannel.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" />
<altmember cref="M:Java.Nio.Channels.SelectableChannel.ValidOps" />
</Docs>
</Member>
</Members>
</Type>