69 lines
2.2 KiB
Java
69 lines
2.2 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*
|
|
* Could not load the following classes:
|
|
* com.tridium.platform.daemon.BDaemonSession
|
|
* com.tridium.workbench.nav.BSessionAgent
|
|
* javax.baja.naming.BHost
|
|
* javax.baja.naming.BISession
|
|
* javax.baja.sys.Sys
|
|
* javax.baja.sys.Type
|
|
* javax.baja.xml.XElem
|
|
*/
|
|
package com.tridium.platcrypto.daemon.ui;
|
|
|
|
import com.tridium.platcrypto.daemon.BDaemonSecureSession;
|
|
import com.tridium.platform.daemon.BDaemonSession;
|
|
import com.tridium.workbench.nav.BSessionAgent;
|
|
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 BDaemonSecureSessionAgent
|
|
extends BSessionAgent {
|
|
public static final BDaemonSecureSessionAgent INSTANCE = new BDaemonSecureSessionAgent();
|
|
public static final Type TYPE;
|
|
static /* synthetic */ Class class$com$tridium$platcrypto$daemon$ui$BDaemonSecureSessionAgent;
|
|
|
|
public Type getType() {
|
|
return TYPE;
|
|
}
|
|
|
|
public void pickle(BISession bISession, XElem xElem) {
|
|
BDaemonSession bDaemonSession = (BDaemonSession)bISession;
|
|
xElem.addAttr("port", "" + bDaemonSession.getPort());
|
|
}
|
|
|
|
public BISession unpickle(BHost bHost, XElem xElem) {
|
|
int n = xElem.geti("port", 5011);
|
|
return BDaemonSecureSession.make(bHost, n, null);
|
|
}
|
|
|
|
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$daemon$ui$BDaemonSecureSessionAgent;
|
|
if (clazz == null) {
|
|
clazz = class$com$tridium$platcrypto$daemon$ui$BDaemonSecureSessionAgent = BDaemonSecureSessionAgent.class("[Lcom.tridium.platcrypto.daemon.ui.BDaemonSecureSessionAgent;", false);
|
|
}
|
|
TYPE = Sys.loadType((Class)clazz);
|
|
}
|
|
}
|
|
|