73 lines
2.3 KiB
Java
73 lines
2.3 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*
|
|
* Could not load the following classes:
|
|
* javax.baja.sys.BFrozenEnum
|
|
* javax.baja.sys.Sys
|
|
* javax.baja.sys.Type
|
|
*/
|
|
package com.tridium.platform.posix;
|
|
|
|
import javax.baja.sys.BFrozenEnum;
|
|
import javax.baja.sys.Sys;
|
|
import javax.baja.sys.Type;
|
|
|
|
/*
|
|
* Illegal identifiers - consider using --renameillegalidents true
|
|
*/
|
|
public final class BNtpModePosix
|
|
extends BFrozenEnum {
|
|
public static final int UNSPECIFIED = 0;
|
|
public static final int PEER = 1;
|
|
public static final int SERVER = 2;
|
|
public static final int BROADCAST = 3;
|
|
public static final int MANYCASTCLIENT = 4;
|
|
public static final BNtpModePosix unspecified = new BNtpModePosix(0);
|
|
public static final BNtpModePosix peer = new BNtpModePosix(1);
|
|
public static final BNtpModePosix server = new BNtpModePosix(2);
|
|
public static final BNtpModePosix broadcast = new BNtpModePosix(3);
|
|
public static final BNtpModePosix manycastclient = new BNtpModePosix(4);
|
|
public static final Type TYPE;
|
|
public static final BNtpModePosix DEFAULT;
|
|
static /* synthetic */ Class class$com$tridium$platform$posix$BNtpModePosix;
|
|
|
|
public final Type getType() {
|
|
return TYPE;
|
|
}
|
|
|
|
public static final BNtpModePosix make(int n) {
|
|
return (BNtpModePosix)unspecified.getRange().get(n, false);
|
|
}
|
|
|
|
public static final BNtpModePosix make(String string) {
|
|
return (BNtpModePosix)unspecified.getRange().get(string);
|
|
}
|
|
|
|
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());
|
|
}
|
|
}
|
|
|
|
private BNtpModePosix(int n) {
|
|
super(n);
|
|
}
|
|
|
|
static {
|
|
Class clazz = class$com$tridium$platform$posix$BNtpModePosix;
|
|
if (clazz == null) {
|
|
clazz = class$com$tridium$platform$posix$BNtpModePosix = BNtpModePosix.class("[Lcom.tridium.platform.posix.BNtpModePosix;", false);
|
|
}
|
|
TYPE = Sys.loadType((Class)clazz);
|
|
DEFAULT = unspecified;
|
|
}
|
|
}
|
|
|