Table of Contents

Class KNetSourceConnector<TSourceConnector, TTask>

Namespace
MASES.KNet.Connect
Assembly
MASES.KNet.dll

An implementation of KNetConnector<TConnector> for source connectors

public abstract class KNetSourceConnector<TSourceConnector, TTask> : KNetConnector<TSourceConnector>, IKNetConnector, IConnector, IVersion, IKNetConnectLogging where TSourceConnector : KNetSourceConnector<TSourceConnector, TTask> where TTask : KNetSourceTask<TTask>

Type Parameters

TSourceConnector

The connector class inherited from KNetSinkConnector<TSinkConnector, TTask>

TTask

The task class inherited from KNetSourceTask<TTask>

Inheritance
KNetConnector<TSourceConnector>
KNetSourceConnector<TSourceConnector, TTask>
Implements
Derived
Inherited Members

Properties

Context

public SourceConnectorContext Context { get; }

Property Value

SourceConnectorContext

ExactlyOnceSupport

Implement the method to return the ExactlyOnceSupport value

public virtual ExactlyOnceSupport ExactlyOnceSupport { get; }

Property Value

ExactlyOnceSupport

ReflectedConnectorClassName

Set the ReflectedConnectorClassName of the connector to a fixed value

public override sealed string ReflectedConnectorClassName { get; }

Property Value

string

TaskClassType

Set the TaskClassType of the connector to the value defined from TTask

public override sealed Type TaskClassType { get; }

Property Value

Type

Methods

CanDefineTransactionBoundaries()

Implement the method to return the ConnectorTransactionBoundaries value

public virtual ConnectorTransactionBoundaries CanDefineTransactionBoundaries()

Returns

ConnectorTransactionBoundaries

CanDefineTransactionBoundariesInternal()

Public method used from Java to trigger CanDefineTransactionBoundaries()

public ConnectorTransactionBoundaries CanDefineTransactionBoundariesInternal()

Returns

ConnectorTransactionBoundaries

ExactlyOnceSupportInternal()

Public method used from Java to trigger ExactlyOnceSupport

public ExactlyOnceSupport ExactlyOnceSupportInternal()

Returns

ExactlyOnceSupport