com.barchart.netty.client.pipeline.AuthenticationHandler.java Source code

Java tutorial

Introduction

Here is the source code for com.barchart.netty.client.pipeline.AuthenticationHandler.java

Source

/**
 * Copyright (C) 2011-2014 Barchart, Inc. <http://www.barchart.com/>
 *
 * All rights reserved. Licensed under the OSI BSD License.
 *
 * http://www.opensource.org/licenses/bsd-license.php
 */
package com.barchart.netty.client.pipeline;

import io.netty.channel.ChannelHandler;

import com.barchart.netty.common.metadata.AuthenticationAware;

/**
 * Superclass for pluggable authentication handlers.
 *
 * @see com.barchart.netty.client.facets.AuthenticationFacet
 * @see com.barchart.netty.client.base.AuthenticatingConnectableBase
 */
public interface AuthenticationHandler<A> extends AuthenticationAware<A>, ChannelHandler {

    interface Builder<B> {

        AuthenticationHandler<B> build();

    }

}