2026-03-17 13:31:18 -07:00

74 lines
2.4 KiB
Java

/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* com.tridium.fox.sys.BFoxSession
* com.tridium.workbench.nav.BFoxSessionAgent
* javax.baja.naming.BHost
* javax.baja.naming.BISession
* javax.baja.sys.Sys
* javax.baja.sys.Type
* javax.baja.xml.XElem
*/
package com.tridium.platcrypto.fox.ui;
import com.tridium.fox.sys.BFoxSession;
import com.tridium.workbench.nav.BFoxSessionAgent;
import javax.baja.naming.BHost;
import javax.baja.naming.BISession;
import javax.baja.sys.Sys;
import javax.baja.sys.Type;
import javax.baja.xml.XElem;
/*
* Illegal identifiers - consider using --renameillegalidents true
*/
public class BFoxSslSessionAgent
extends BFoxSessionAgent {
public static final BFoxSslSessionAgent INSTANCE = new BFoxSslSessionAgent();
public static final Type TYPE;
static /* synthetic */ Class class$com$tridium$platcrypto$fox$ui$BFoxSslSessionAgent;
public Type getType() {
return TYPE;
}
public void pickle(BISession bISession, XElem xElem) {
BFoxSession bFoxSession = (BFoxSession)bISession;
xElem.addAttr("port", "" + bFoxSession.getPort());
xElem.addAttr("useFoxs", "true");
if (bFoxSession.getStationName() != null) {
xElem.addAttr("stationName", bFoxSession.getStationName());
}
}
public BISession unpickle(BHost bHost, XElem xElem) {
int n = xElem.geti("port", 4911);
String string = xElem.get("stationName", null);
boolean bl = xElem.getb("useFoxs", true);
return BFoxSession.make((String)string, (BHost)bHost, (int)n, (boolean)true);
}
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());
}
}
static {
Class clazz = class$com$tridium$platcrypto$fox$ui$BFoxSslSessionAgent;
if (clazz == null) {
clazz = class$com$tridium$platcrypto$fox$ui$BFoxSslSessionAgent = BFoxSslSessionAgent.class("[Lcom.tridium.platcrypto.fox.ui.BFoxSslSessionAgent;", false);
}
TYPE = Sys.loadType((Class)clazz);
}
}