public abstract class AbstractChannelInitializer<S extends org.opendaylight.netconf.api.NetconfSession> extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
NETCONF_MESSAGE_AGGREGATOR |
static String |
NETCONF_MESSAGE_DECODER |
static String |
NETCONF_MESSAGE_ENCODER |
static String |
NETCONF_MESSAGE_FRAME_ENCODER |
static String |
NETCONF_SESSION_NEGOTIATOR |
| Constructor and Description |
|---|
AbstractChannelInitializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(io.netty.channel.Channel ch,
io.netty.util.concurrent.Promise<S> promise) |
protected void |
initializeMessageDecoder(io.netty.channel.Channel ch) |
protected void |
initializeMessageEncoder(io.netty.channel.Channel ch) |
protected abstract void |
initializeSessionNegotiator(io.netty.channel.Channel ch,
io.netty.util.concurrent.Promise<S> promise)
Insert session negotiator into the pipeline.
|
public static final String NETCONF_MESSAGE_DECODER
public static final String NETCONF_MESSAGE_AGGREGATOR
public static final String NETCONF_MESSAGE_ENCODER
public static final String NETCONF_MESSAGE_FRAME_ENCODER
public static final String NETCONF_SESSION_NEGOTIATOR
public void initialize(io.netty.channel.Channel ch,
io.netty.util.concurrent.Promise<S> promise)
protected void initializeMessageEncoder(io.netty.channel.Channel ch)
protected void initializeMessageDecoder(io.netty.channel.Channel ch)
protected abstract void initializeSessionNegotiator(io.netty.channel.Channel ch,
io.netty.util.concurrent.Promise<S> promise)
NETCONF_MESSAGE_DECODER, (or any other custom decoder processor)Copyright © 2017 OpenDaylight. All rights reserved.