C
- Channel typepublic abstract class ProtocolChannelInitializer<C extends io.netty.channel.Channel>
extends io.netty.channel.ChannelInitializer<C>
Constructor and Description |
---|
ProtocolChannelInitializer() |
Modifier and Type | Method and Description |
---|---|
int |
getChannelOutboundQueueSize()
Returns the channelOutboundQueueSize.
|
DeserializationFactory |
getDeserializationFactory() |
SerializationFactory |
getSerializationFactory() |
SwitchConnectionHandler |
getSwitchConnectionHandler() |
long |
getSwitchIdleTimeout() |
TlsConfiguration |
getTlsConfiguration() |
void |
setChannelOutboundQueueSize(int channelOutboundQueueSize)
Sets the channelOutboundQueueSize.
|
void |
setDeserializationFactory(DeserializationFactory deserializationFactory) |
void |
setSerializationFactory(SerializationFactory serializationFactory) |
void |
setSwitchConnectionHandler(SwitchConnectionHandler switchConnectionHandler)
Sets the SwitchConnectionHandler.
|
void |
setSwitchIdleTimeout(long switchIdleTimeout)
Sets the switch idle timeout.
|
void |
setTlsConfiguration(TlsConfiguration tlsConfiguration) |
void |
setUseBarrier(boolean useBarrier) |
boolean |
useBarrier() |
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved, initChannel
public void setSwitchConnectionHandler(SwitchConnectionHandler switchConnectionHandler)
switchConnectionHandler
- the switchConnectionHandler to setpublic void setSwitchIdleTimeout(long switchIdleTimeout)
switchIdleTimeout
- the switchIdleTimeout to setpublic void setSerializationFactory(SerializationFactory serializationFactory)
public void setDeserializationFactory(DeserializationFactory deserializationFactory)
public void setTlsConfiguration(TlsConfiguration tlsConfiguration)
public SwitchConnectionHandler getSwitchConnectionHandler()
public long getSwitchIdleTimeout()
public SerializationFactory getSerializationFactory()
public DeserializationFactory getDeserializationFactory()
public TlsConfiguration getTlsConfiguration()
public void setUseBarrier(boolean useBarrier)
public boolean useBarrier()
public void setChannelOutboundQueueSize(int channelOutboundQueueSize)
channelOutboundQueueSize
- the channelOutboundQueueSizepublic int getChannelOutboundQueueSize()
Copyright © 2020 OpenDaylight. All rights reserved.