Table of Contents

Class Runnable

Namespace
Java.Lang
Assembly
MASES.JNet.dll
public class Runnable : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IRunnable
Inheritance
Runnable
Implements
Derived
Inherited Members
Extension Methods

Constructors

Runnable()

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

public Runnable()

Runnable(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 Runnable(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

OnRun

public Action OnRun { get; set; }

Property Value

Action

Remarks

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

Methods

InitializeHandlers()

Handlers initializer for Runnable

protected virtual void InitializeHandlers()

Run()

public virtual void Run()