Table of Contents

Class Serde<T>

Namespace
Org.Apache.Kafka.Common.Serialization
Assembly
MASES.KNet.dll
public class Serde<T> : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerde<T>

Type Parameters

T
Inheritance
JVMBridgeBase
JVMBridgeBase<JVMBridgeListener>
JVMBridgeListener
Serde<T>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeListener.Dispose()
JVMBridgeListener.AutoInit
JVMBridgeListener.IsBridgeStatic
JVMBridgeListener.IsBridgeCloseable
JVMBridgeListener.IsBridgeListener
JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom(IJavaType)
JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom<T>()
JVMBridgeBase<JVMBridgeListener>.Execute<T>(params T[])
JVMBridgeBase<JVMBridgeListener>.DynBridgeClazz
JVMBridgeBase<JVMBridgeListener>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeInterface
JVMBridgeBase.IsBridgeAbstract

Constructors

Serde()

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

public Serde()

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

OnClose

public Action OnClose { get; set; }

Property Value

Action

Remarks

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

OnConfigure

public Action<Map<String, object>, bool> OnConfigure { get; set; }

Property Value

Action<Map<String, object>, bool>

Remarks

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

OnDeserializer

public Func<Deserializer<T>> OnDeserializer { get; set; }

Property Value

Func<Deserializer<T>>

Remarks

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

OnSerializer

public Func<Serializer<T>> OnSerializer { get; set; }

Property Value

Func<Serializer<T>>

Remarks

If OnSerializer 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

Configure(Map<String, object>, bool)

public virtual void Configure(Map<String, object> arg0, bool arg1)

Parameters

arg0 Map<String, object>

Map

arg1 bool

bool

Remarks

The method invokes the default implementation in the JVM interface using ConfigureDefault(Map<String, object>, bool); override the method to implement a different behavior

ConfigureDefault(Map<String, object>, bool)

public void ConfigureDefault(Map<String, object> arg0, bool arg1)

Parameters

arg0 Map<String, object>

Map

arg1 bool

bool

Remarks

The method invokes the default implementation in the JVM interface

Deserializer()

public virtual Deserializer<T> Deserializer()

Returns

Deserializer<T>

Deserializer

InitializeHandlers()

Handlers initializer for Serde

protected virtual void InitializeHandlers()

Serializer()

public virtual Serializer<T> Serializer()

Returns

Serializer<T>

Serializer