Table of Contents

Class Callable

Namespace
Java.Util.Concurrent
Assembly
MASES.JNet.dll
public class Callable : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
Callable
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<object> OnCall { get; set; }

Property Value

Func<object>

Remarks

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

Methods

Call()

public virtual object Call()

Returns

object

object

Exceptions

Exception

InitializeHandlers()

Handlers initializer for Callable

protected virtual void InitializeHandlers()