Interface NioServerFactory


  • public interface NioServerFactory
    NioServerFactory is a factory to generate all the supporting cast required to instantiate a NioServer.

    Usually called with the canonical class name and as such might have to support appropriate (multiple) constructors.

    • Method Detail

      • getNioServer

        NioServer getNioServer()
                        throws java.lang.InstantiationException
        Returns an instance of the NioServer that the factory generates.
        Returns:
        an instance of NioServer generated by this factory.
        Throws:
        java.lang.InstantiationException - if the NioServer instance cannot be created.