All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.kpavlov.jreactive8583.ConnectorConfigurer.kt Maven / Gradle / Ivy

The newest version!
@file:JvmName("ConnectorConfigurer")

package com.github.kpavlov.jreactive8583

import io.netty.bootstrap.AbstractBootstrap
import io.netty.channel.ChannelPipeline

@JvmDefaultWithCompatibility
public interface ConnectorConfigurer> {
    /**
     * Hook added before completion of the bootstrap configuration.
     *
     *
     * This method is called during [AbstractIso8583Connector.init] phase.
     *
     *
     *
     * This implementation does nothing
     *
     * @param bootstrap     AbstractBootstrap to configure
     * @param configuration A [ConnectorConfiguration] to use
     */
    public fun configureBootstrap(
        bootstrap: B,
        configuration: C,
    ) {
        // this method was intentionally left blank
    }

    /**
     * Hook added before completion of the pipeline configuration.
     *
     *
     * This method is called during
     * [com.github.kpavlov.jreactive8583.netty.pipeline.Iso8583ChannelInitializer.initChannel] phase.
     *
     *
     * This implementation does nothing
     *
     * @param pipeline      A [ChannelPipeline] being configured
     * @param configuration A [ConnectorConfiguration] to use
     */
    public fun configurePipeline(
        pipeline: ChannelPipeline,
        configuration: C,
    ) {
        // this method was intentionally left blank
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy