Interface ChannelFactory

    • Method Detail

      • createChannel

        static Channel createChannel​(Session session,
                                     Collection<? extends ChannelFactory> factories,
                                     String name)
                              throws IOException
        Parameters:
        session - The Session through which the request is made
        factories - The available factories
        name - The required factory name to use
        Returns:
        The created Channel - null if no match found
        Throws:
        IOException - If failed to create the requested instance