IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
java.nio.channels.DelegateCompletionHandler< V, A > Class Template Reference

An implementation of a CompletionHandler that accepts a delegate. More...

Inheritance diagram for java.nio.channels.DelegateCompletionHandler< V, A >:
java.nio.channels.DelegateCompletionHandler< V, object >

Public Member Functions

 DelegateCompletionHandler (Action< object > onCompleted, Action< Exception > onFailed)
 Initializes a new instance.
 
 DelegateCompletionHandler (Action< V > onCompleted, Action< Exception > onFailed)
 Initializes a new instance.
 
 DelegateCompletionHandler (Action< V, A > onCompleted, Action< Exception, A > onFailed)
 Initializes a new instance.
 
- Public Member Functions inherited from java.nio.channels.DelegateCompletionHandler< V, object >
 DelegateCompletionHandler (Action< object > onCompleted, Action< Exception > onFailed)
 Initializes a new instance.
 
 DelegateCompletionHandler (Action< V > onCompleted, Action< Exception > onFailed)
 Initializes a new instance.
 
 DelegateCompletionHandler (Action< V, A > onCompleted, Action< Exception, A > onFailed)
 Initializes a new instance.
 

Detailed Description

An implementation of a CompletionHandler that accepts a delegate.

Template Parameters
V

Definition at line 50 of file DelegateCompletionHandler.cs.

Constructor & Destructor Documentation

◆ DelegateCompletionHandler() [1/3]

java.nio.channels.DelegateCompletionHandler< V, A >.DelegateCompletionHandler ( Action< object > onCompleted,
Action< Exception > onFailed )

Initializes a new instance.

Parameters
onCompleted
onFailed

Definition at line 17 of file DelegateCompletionHandler.cs.

17 :
18 base(onCompleted, onFailed)
19 {
20
21 }

◆ DelegateCompletionHandler() [2/3]

java.nio.channels.DelegateCompletionHandler< V, A >.DelegateCompletionHandler ( Action< V > onCompleted,
Action< Exception > onFailed )

Initializes a new instance.

Parameters
onCompleted
onFailed

Definition at line 38 of file DelegateCompletionHandler.cs.

38 :
39 base((r, a) => onCompleted(r), (e, a) => onFailed(e))
40 {
41
42 }

◆ DelegateCompletionHandler() [3/3]

java.nio.channels.DelegateCompletionHandler< V, A >.DelegateCompletionHandler ( Action< V, A > onCompleted,
Action< Exception, A > onFailed )

Initializes a new instance.

Parameters
onCompleted
onFailed

Definition at line 61 of file DelegateCompletionHandler.cs.

62 {
63 this.onCompleted = onCompleted;
64 this.onFailed = onFailed;
65 }

The documentation for this class was generated from the following file: