IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
DotNetAsynchronousServerSocketChannelImplAccessor.cs
Go to the documentation of this file.
1using System;
2
4{
5
6#if FIRST_PASS == false && EXPORTER == false && IMPORTER == false
7
11 internal sealed class DotNetAsynchronousServerSocketChannelImplAccessor : Accessor<object>
12 {
13
14 Type sunNioChAsynchronousChannelGroupImpl;
15
16 MethodAccessor<Action<object>> begin;
17 MethodAccessor<Action<object>> end;
18 MethodAccessor<Func<object, object>> group;
19
24 public DotNetAsynchronousServerSocketChannelImplAccessor(AccessorTypeResolver resolver) :
25 base(resolver, "sun.nio.ch.DotNetAsynchronousServerSocketChannelImpl")
26 {
27
28 }
29
30 Type SunNioChAsynchronousChannelGroupImpl => Resolve(ref sunNioChAsynchronousChannelGroupImpl, "sun.nio.ch.AsynchronousChannelGroupImpl");
31
32 public void InvokeBegin(object self) => GetMethod(ref begin, nameof(begin), typeof(void)).Invoker(self);
33
34 public void InvokeEnd(object self) => GetMethod(ref end, nameof(end), typeof(void)).Invoker(self);
35
36 public object InvokeGroup(object self) => GetMethod(ref group, nameof(group), SunNioChAsynchronousChannelGroupImpl).Invoker(self);
37
38 }
39
40#endif
41
42}
IKVM.Reflection.Type Type