Interface AgentForwardSupport

  • All Superinterfaces:
    java.lang.AutoCloseable, java.nio.channels.Channel, java.io.Closeable, Closeable
    All Known Implementing Classes:
    DefaultAgentForwardSupport

    public interface AgentForwardSupport
    extends Closeable
    The server side fake agent, acting as an agent, but actually forwarding the requests to the auth channel on the client side.
    • Method Detail

      • initialize

        java.lang.String initialize()
                             throws java.io.IOException
        Initializes the agent forwarding if not already done so - i.e., can be called more than once - only first successful call counts, the rest will return the identifier of the previously initialized agent.
        Returns:
        The agent ID
        Throws:
        java.io.IOException - If failed to initialize