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 Details

    • NettyConnectionHandlerFactory

      public NettyConnectionHandlerFactory()
  • Method Details

    • 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