niagara-ax/modules/cfr_output/com/tridium/install/BRemoteDaemonPlatform.java
2026-03-17 13:31:18 -07:00

102 lines
3.7 KiB
Java

/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* javax.baja.security.AuthenticationException
* javax.baja.sys.BValue
* javax.baja.sys.Sys
* javax.baja.sys.Type
*/
package com.tridium.install;
import com.tridium.install.BDaemonPlatform;
import com.tridium.install.BRemoteModuleList;
import com.tridium.platform.daemon.BDaemonSession;
import com.tridium.platform.daemon.task.DaemonSessionTaskListener;
import java.net.ConnectException;
import javax.baja.security.AuthenticationException;
import javax.baja.sys.BValue;
import javax.baja.sys.Sys;
import javax.baja.sys.Type;
/*
* Illegal identifiers - consider using --renameillegalidents true
*/
public class BRemoteDaemonPlatform
extends BDaemonPlatform {
public static final Type TYPE;
static /* synthetic */ Class class$com$tridium$install$BRemoteDaemonPlatform;
public Type getType() {
return TYPE;
}
protected void init(DaemonSessionTaskListener daemonSessionTaskListener) throws ConnectException, AuthenticationException {
super.init(daemonSessionTaskListener);
this.setModuleList(new BRemoteModuleList(this.getDaemonSession()));
}
public static BRemoteDaemonPlatform make(BDaemonSession bDaemonSession, DaemonSessionTaskListener daemonSessionTaskListener) throws AuthenticationException, ConnectException {
return BRemoteDaemonPlatform.make(bDaemonSession, daemonSessionTaskListener, true);
}
/*
* WARNING - Removed try catching itself - possible behaviour change.
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
*/
public static BRemoteDaemonPlatform make(BDaemonSession bDaemonSession, DaemonSessionTaskListener daemonSessionTaskListener, boolean bl) throws AuthenticationException, ConnectException {
if (bDaemonSession == null) {
return null;
}
BDaemonSession bDaemonSession2 = bDaemonSession;
synchronized (bDaemonSession2) {
BRemoteDaemonPlatform bRemoteDaemonPlatform;
block6: {
block5: {
if (!bl) break block5;
bRemoteDaemonPlatform = (BRemoteDaemonPlatform)bDaemonSession.getHostProperties().get("platform");
if (bRemoteDaemonPlatform == null) {
bRemoteDaemonPlatform = new BRemoteDaemonPlatform(bDaemonSession);
bDaemonSession.getHostProperties().add("platform", (BValue)bRemoteDaemonPlatform);
}
break block6;
}
bRemoteDaemonPlatform = new BRemoteDaemonPlatform(bDaemonSession);
}
bRemoteDaemonPlatform.checkSession(daemonSessionTaskListener);
return bRemoteDaemonPlatform;
}
}
static /* synthetic */ Class class(String string, boolean bl) {
try {
Class<?> clazz = Class.forName(string);
if (!bl) {
clazz = clazz.getComponentType();
}
return clazz;
}
catch (ClassNotFoundException classNotFoundException) {
throw new NoClassDefFoundError(classNotFoundException.getMessage());
}
}
public BRemoteDaemonPlatform() {
}
private BRemoteDaemonPlatform(BDaemonSession bDaemonSession) throws ConnectException, AuthenticationException {
super(bDaemonSession);
}
static {
Class clazz = class$com$tridium$install$BRemoteDaemonPlatform;
if (clazz == null) {
clazz = class$com$tridium$install$BRemoteDaemonPlatform = BRemoteDaemonPlatform.class("[Lcom.tridium.install.BRemoteDaemonPlatform;", false);
}
TYPE = Sys.loadType((Class)clazz);
}
}