Class ChannelAgentForwardingFactory

    • Constructor Detail

      • ChannelAgentForwardingFactory

        public ChannelAgentForwardingFactory​(java.lang.String name)
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface NamedResource
        Returns:
        The resource name
      • createChannel

        public Channel createChannel​(Session session)
                              throws java.io.IOException
        Specified by:
        createChannel in interface ChannelFactory
        Parameters:
        session - The Session through which the request is made
        Returns:
        The relevant Channel
        Throws:
        java.io.IOException - If failed to create the requested instance