Package org.jivesoftware.openfire.nio
Class NettyConnectionHandlerFactory
- java.lang.Object
-
- org.jivesoftware.openfire.nio.NettyConnectionHandlerFactory
-
public class NettyConnectionHandlerFactory extends Object
Responsible for creating the NettyConnectionHandler for the connection type.- Author:
- Alex Gidman
-
-
Constructor Summary
Constructors Constructor Description NettyConnectionHandlerFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NettyConnectionHandler
createConnectionHandler(ConnectionConfiguration configuration)
Creates a new NettyConnectionHandler based on the type of connection set in the configuration.
-
-
-
Method Detail
-
createConnectionHandler
public static NettyConnectionHandler createConnectionHandler(ConnectionConfiguration configuration)
Creates a new NettyConnectionHandler based on the type of connection set in the configuration.- Parameters:
configuration
- options for how the connection is configured- Returns:
- a new NettyConnectionHandler
-
-