All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.proton.transport.proxy.Proxy Maven / Gradle / Ivy

There is a newer version: 1.2.5
Show newest version
/*
 * Copyright (c) Microsoft. All rights reserved.
 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
 */

package com.microsoft.azure.proton.transport.proxy;

import java.util.Map;

import org.apache.qpid.proton.engine.Transport;

public interface Proxy {
    enum ProxyState {
        PN_PROXY_NOT_STARTED,
        PN_PROXY_CONNECTING,
        PN_PROXY_CHALLENGE,
        PN_PROXY_CHALLENGE_RESPONDED,
        PN_PROXY_CONNECTED,
        PN_PROXY_FAILED
    }

    void configure(
            String host,
            Map headers,
            ProxyHandler proxyHandler,
            Transport underlyingTransport);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy