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

com.chartiq.finsemble.fdc3.versions.FinsembleDesktopAgent2_0 Maven / Gradle / Ivy

The newest version!
package com.chartiq.finsemble.fdc3.versions;

import com.chartiq.finsemble.Finsemble;
import com.finsemble.fdc3.DesktopAgentEventListener;
import java.security.interfaces.RSAPrivateKey;

/**
 * Thin layer for implementing versioning. This class is effectively the new FinsembleDesktopAgent (2.0).
 */
public class FinsembleDesktopAgent2_0 extends com.finsemble.fdc3.finsemble.FinsembleDesktopAgent {

    /**
     * Instantiates a desktop agent instance from a Finsemble bridge and a private key for static auth.
     *
     * @param finsemble the bridge to use
     * @throws Exception when something goes wrong
     */
    public FinsembleDesktopAgent2_0(Finsemble finsemble) throws Exception {
        this(finsemble, null, null);
    }

    /**
     * Instantiates a desktop agent instance from a Finsemble bridge and a private key for static auth.
     *
     * @param finsemble the bridge to use
     * @param rsaPrivateKey the RSA private key to use for signing with static auth
     * @throws Exception when something goes wrong
     */
    public FinsembleDesktopAgent2_0(Finsemble finsemble, RSAPrivateKey rsaPrivateKey) throws Exception {
        this(finsemble, rsaPrivateKey, null);
    }
    /**
     * Instantiates a desktop agent instance from a Finsemble bridge and a private key for static auth.
     *
     * @param finsemble the bridge to use
     * @param rsaPrivateKey the RSA private key to use for signing with static auth
     * @param desktopAgentEventListener desktop agent event listeners
     * @throws Exception when something goes wrong
     */
    public FinsembleDesktopAgent2_0(Finsemble finsemble, RSAPrivateKey rsaPrivateKey, DesktopAgentEventListener desktopAgentEventListener) throws Exception {
        super(finsemble, rsaPrivateKey, desktopAgentEventListener);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy