Class ConvertingFutureCallback<U, T>
public class ConvertingFutureCallback<U, T> : JVMBridgeBase<ConvertingFutureCallback<U, T>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ICallback<U>, IFuture<T>
Type Parameters
U
T
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<ConvertingFutureCallback<U, T>>ConvertingFutureCallback<U, T>
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinitionICallback<U>IFuture<T>
- Derived
- Inherited Members
-
JVMBridgeBase<ConvertingFutureCallback<U, T>>.SExecuteWithSignature(string, string, params object[])JVMBridgeBase<ConvertingFutureCallback<U, T>>.IsAssignableFrom(IJavaType)JVMBridgeBase<ConvertingFutureCallback<U, T>>.IsAssignableFrom<T>()JVMBridgeBase<ConvertingFutureCallback<U, T>>.Execute<T>(params T[])JVMBridgeBase<ConvertingFutureCallback<U, T>>.DynBridgeClazzJVMBridgeBase<ConvertingFutureCallback<U, T>>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
Constructors
ConvertingFutureCallback()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("ConvertingFutureCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ConvertingFutureCallback()
ConvertingFutureCallback(Callback<T>)
public ConvertingFutureCallback(Callback<T> arg0)
Parameters
ConvertingFutureCallback(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
[Obsolete("ConvertingFutureCallback class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ConvertingFutureCallback(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
Cancel(bool)
public bool Cancel(bool arg0)
Parameters
Returns
Convert(U)
public T Convert(U arg0)
Parameters
arg0
UU
Returns
- T
T
Get()
public T Get()
Returns
- T
T
Exceptions
Get(long, TimeUnit)
public T Get(long arg0, TimeUnit arg1)
Parameters
Returns
- T
T
Exceptions
IsCancelled()
public bool IsCancelled()
Returns
IsDone()
public bool IsDone()
Returns
OnCompletion(JVMBridgeException, U)
public void OnCompletion(JVMBridgeException arg0, U arg1)
Parameters
arg0
JVMBridgeExceptionarg1
UU
RecordStage(Stage)
public void RecordStage(Stage arg0)
Parameters
Operators
implicit operator Future(ConvertingFutureCallback<U, T>)
Converter from ConvertingFutureCallback<U, T> to Future
public static implicit operator Future(ConvertingFutureCallback<U, T> t)
Parameters
t
ConvertingFutureCallback<U, T>
Returns
implicit operator Callback(ConvertingFutureCallback<U, T>)
Converter from ConvertingFutureCallback<U, T> to Callback
public static implicit operator Callback(ConvertingFutureCallback<U, T> t)
Parameters
t
ConvertingFutureCallback<U, T>
Returns
implicit operator ConvertingFutureCallback(ConvertingFutureCallback<U, T>)
Converter from ConvertingFutureCallback<U, T> to ConvertingFutureCallback
public static implicit operator ConvertingFutureCallback(ConvertingFutureCallback<U, T> t)
Parameters
t
ConvertingFutureCallback<U, T>