Table of Contents

Class SerializerDirect<T>

Namespace
Org.Apache.Kafka.Common.Serialization
Assembly
MASES.KNet.dll

Direct override of Serializer or its generic type if there is one

public class SerializerDirect<T> : Serializer<T>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, ISerializer<T>, ISerializer, IJVMBridgeBase, IJVMBridgeDefinition

Type Parameters

T
Inheritance
SerializerDirect<T>
Implements
Inherited Members

Properties

AutoInit

Set to false to externally initialize this JVMBridgeListener instance using InitializeListener(IJVMBridgeBase)

public override bool AutoInit { get; }

Property Value

bool

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Close()

public override void Close()

Configure(Map<String, object>, bool)

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

Parameters

arg0 Map<String, object>

Map

arg1 bool

bool

InitializeHandlers()

Handlers initializer for Serializer

protected override void InitializeHandlers()

Serialize(String, Headers, T)

public override byte[] Serialize(String arg0, Headers arg1, T arg2)

Parameters

arg0 String

String

arg1 Headers

Headers

arg2 T

T

Returns

byte[]

byte

Serialize(String, T)

public override byte[] Serialize(String arg0, T arg1)

Parameters

arg0 String

String

arg1 T

T

Returns

byte[]

byte