package a.c.a;

import a.b.a.c;
import a.c.a.b.b;

public class a {

    /* renamed from: a  reason: collision with root package name */
    private static final String f53a = "ConnectManager";
    private static final a b = new a();

    private a() {
    }

    public static a a() {
        return b;
    }

    public void a(int i, boolean z) {
        String a2 = c.b().a();
        if (a2.equals(c.f)) {
            b.d().a(i, z);
        } else if (a2.equals(c.i)) {
            a.a.a.b.a(f53a, "Not need register socket , because the current connect type is " + a2);
        } else {
            a.a.a.b.b(f53a, "The current connect state is " + a2 + " , is not allowed register server socket");
        }
    }
}
