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

com.moomoo.openapi.MMAPI Maven / Gradle / Ivy

The newest version!
package com.moomoo.openapi;

import org.bouncycastle.jce.provider.BouncyCastleProvider;
import java.security.Security;

public class MMAPI {
    static NetEventListener netEventListener = new NetEventListener() {
    };

    public static void init() {
        Security.addProvider(new BouncyCastleProvider());
    }

    public static void unInit() {

    }

    public static void setNetEventListener(NetEventListener listener) {
        if (listener != null) {
            netEventListener = listener;
        } else {
            netEventListener = new NetEventListener() {
            };
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy