Table of Contents

Class Callable<V>

Namespace
Java.Util.Concurrent
Assembly
MASES.JNet.dll
public class Callable<V> : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ICallable<V>

Type Parameters

V
Inheritance
Callable<V>
Implements
Derived
Inherited Members
Extension Methods

Constructors

Callable()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public Callable()

Callable(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public Callable(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

OnCall

public Func<V> OnCall { get; set; }

Property Value

Func<V>

Remarks

If OnCall has a value it takes precedence over corresponding class method

Methods

Call()

public virtual V Call()

Returns

V

V

Exceptions

Exception

InitializeHandlers()

Handlers initializer for Callable

protected virtual void InitializeHandlers()