Class ProtocolChannelInitializer<C extends io.netty.channel.Channel>
- java.lang.Object
- 
- io.netty.channel.ChannelHandlerAdapter
- 
- io.netty.channel.ChannelInboundHandlerAdapter
- 
- io.netty.channel.ChannelInitializer<C>
- 
- org.opendaylight.openflowjava.protocol.impl.core.ProtocolChannelInitializer<C>
 
 
 
 
- 
- Type Parameters:
- C- Channel type
 - All Implemented Interfaces:
- io.netty.channel.ChannelHandler,- io.netty.channel.ChannelInboundHandler
 - Direct Known Subclasses:
- TcpChannelInitializer,- UdpChannelInitializer
 
 public abstract class ProtocolChannelInitializer<C extends io.netty.channel.Channel> extends io.netty.channel.ChannelInitializer<C>Initializer for protocol channels.- Author:
- michal.polkorab
 
- 
- 
Constructor SummaryConstructors Constructor Description ProtocolChannelInitializer()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetChannelOutboundQueueSize()Returns the channelOutboundQueueSize.DeserializationFactorygetDeserializationFactory()SerializationFactorygetSerializationFactory()SwitchConnectionHandlergetSwitchConnectionHandler()longgetSwitchIdleTimeout()TlsConfigurationgetTlsConfiguration()voidsetChannelOutboundQueueSize(int channelOutboundQueueSize)Sets the channelOutboundQueueSize.voidsetDeserializationFactory(DeserializationFactory deserializationFactory)voidsetSerializationFactory(SerializationFactory serializationFactory)voidsetSwitchConnectionHandler(SwitchConnectionHandler switchConnectionHandler)Sets the SwitchConnectionHandler.voidsetSwitchIdleTimeout(long switchIdleTimeout)Sets the switch idle timeout.voidsetTlsConfiguration(TlsConfiguration tlsConfiguration)voidsetUseBarrier(boolean useBarrier)booleanuseBarrier()- 
Methods inherited from class io.netty.channel.ChannelInitializerchannelRegistered, exceptionCaught, handlerAdded, handlerRemoved, initChannel
 
- 
 
- 
- 
- 
Method Detail- 
setSwitchConnectionHandlerpublic void setSwitchConnectionHandler(SwitchConnectionHandler switchConnectionHandler) Sets the SwitchConnectionHandler.- Parameters:
- switchConnectionHandler- the switchConnectionHandler to set
 
 - 
setSwitchIdleTimeoutpublic void setSwitchIdleTimeout(long switchIdleTimeout) Sets the switch idle timeout.- Parameters:
- switchIdleTimeout- the switchIdleTimeout to set
 
 - 
setSerializationFactorypublic void setSerializationFactory(SerializationFactory serializationFactory) 
 - 
setDeserializationFactorypublic void setDeserializationFactory(DeserializationFactory deserializationFactory) 
 - 
setTlsConfigurationpublic void setTlsConfiguration(TlsConfiguration tlsConfiguration) 
 - 
getSwitchConnectionHandlerpublic SwitchConnectionHandler getSwitchConnectionHandler() 
 - 
getSwitchIdleTimeoutpublic long getSwitchIdleTimeout() 
 - 
getSerializationFactorypublic SerializationFactory getSerializationFactory() 
 - 
getDeserializationFactorypublic DeserializationFactory getDeserializationFactory() 
 - 
getTlsConfigurationpublic TlsConfiguration getTlsConfiguration() 
 - 
setUseBarrierpublic void setUseBarrier(boolean useBarrier) 
 - 
useBarrierpublic boolean useBarrier() 
 - 
setChannelOutboundQueueSizepublic void setChannelOutboundQueueSize(int channelOutboundQueueSize) Sets the channelOutboundQueueSize.- Parameters:
- channelOutboundQueueSize- the channelOutboundQueueSize
 
 - 
getChannelOutboundQueueSizepublic int getChannelOutboundQueueSize() Returns the channelOutboundQueueSize.- Returns:
- channelOutboundQueueSize
 
 
- 
 
-