Class Processor<KIn, VIn, KOut, VOut>
public class Processor<KIn, VIn, KOut, VOut> : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IProcessor<KIn, VIn, KOut, VOut>, IJVMBridgeBase, IJVMBridgeDefinition
Type Parameters
KIn
VIn
KOut
VOut
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<JVMBridgeListener>JVMBridgeListenerProcessor<KIn, VIn, KOut, VOut>
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIProcessor<KIn, VIn, KOut, VOut>IJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeListener.Dispose()JVMBridgeListener.AutoInitJVMBridgeListener.IsBridgeStaticJVMBridgeListener.IsBridgeCloseableJVMBridgeListener.IsBridgeListenerJVMBridgeBase<JVMBridgeListener>.IsAssignableFrom(IJavaType)JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom<T>()JVMBridgeBase<JVMBridgeListener>.Execute<T>(params T[])JVMBridgeBase<JVMBridgeListener>.DynBridgeClazzJVMBridgeBase<JVMBridgeListener>.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.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeInterfaceJVMBridgeBase.IsBridgeAbstract
Constructors
Processor()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public Processor()
Properties
BridgeClassName
public override string BridgeClassName { get; }
Property Value
OnClose
public Action OnClose { get; set; }
Property Value
Remarks
If OnClose has a value it takes precedence over corresponding class method
OnInit
public Action<ProcessorContext<KOut, VOut>> OnInit { get; set; }
Property Value
- Action<ProcessorContext<KOut, VOut>>
Remarks
If OnInit has a value it takes precedence over corresponding class method
OnProcess
public Action<Record<KIn, VIn>> OnProcess { get; set; }
Property Value
Remarks
If OnProcess has a value it takes precedence over corresponding class method
Methods
Close()
public virtual void Close()
Remarks
The method invokes the default implementation in the JVM interface using CloseDefault(); override the method to implement a different behavior
CloseDefault()
public void CloseDefault()
Remarks
The method invokes the default implementation in the JVM interface
Init(ProcessorContext<KOut, VOut>)
public virtual void Init(ProcessorContext<KOut, VOut> arg0)
Parameters
arg0
ProcessorContext<KOut, VOut>
Remarks
The method invokes the default implementation in the JVM interface using InitDefault(ProcessorContext<KOut, VOut>); override the method to implement a different behavior
InitDefault(ProcessorContext<KOut, VOut>)
public void InitDefault(ProcessorContext<KOut, VOut> arg0)
Parameters
arg0
ProcessorContext<KOut, VOut>
Remarks
The method invokes the default implementation in the JVM interface
InitializeHandlers()
Handlers initializer for Processor
protected virtual void InitializeHandlers()
Process(Record<KIn, VIn>)
public virtual void Process(Record<KIn, VIn> arg0)