public class ChannelInitializerFactory extends Object
Constructor and Description |
---|
ChannelInitializerFactory() |
Modifier and Type | Method and Description |
---|---|
TcpChannelInitializer |
createPublishingChannelInitializer()
Creates a TCP publishing channel initializer.
|
UdpChannelInitializer |
createUdpChannelInitializer()
Creates a UDP channel initializer.
|
void |
setChannelOutboundQueueSize(int channelOutboundQueueSize)
Sets the channelOutboundQueueSize.
|
void |
setDeserializationFactory(DeserializationFactory deserializationFactory)
Sets the DeserializationFactory.
|
void |
setSerializationFactory(SerializationFactory serializationFactory)
Sets the SerializationFactory.
|
void |
setSwitchConnectionHandler(SwitchConnectionHandler switchConnectionHandler)
Sets the SwitchConnectionHandler.
|
void |
setSwitchIdleTimeout(long timeout)
Sets the switch idle timeout.
|
void |
setTlsConfig(TlsConfiguration tlsConfig)
Sets the TlsConfiguration.
|
void |
setUseBarrier(boolean useBarrier)
Sets whether or not to use a barrier.
|
public TcpChannelInitializer createPublishingChannelInitializer()
public UdpChannelInitializer createUdpChannelInitializer()
public void setSwitchIdleTimeout(long timeout)
timeout
- the timeoutpublic void setDeserializationFactory(DeserializationFactory deserializationFactory)
deserializationFactory
- the DeserializationFactorypublic void setSerializationFactory(SerializationFactory serializationFactory)
serializationFactory
- the SerializationFactorypublic void setTlsConfig(TlsConfiguration tlsConfig)
tlsConfig
- the TlsConfigurationpublic void setSwitchConnectionHandler(SwitchConnectionHandler switchConnectionHandler)
switchConnectionHandler
- the SwitchConnectionHandlerpublic void setUseBarrier(boolean useBarrier)
public void setChannelOutboundQueueSize(int channelOutboundQueueSize)
channelOutboundQueueSize
- the channelOutboundQueueSizeCopyright © 2020 OpenDaylight. All rights reserved.