79 lines
2.5 KiB
Java
79 lines
2.5 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.ntp;
|
|
|
|
import javax.baja.sys.BFrozenEnum;
|
|
import javax.baja.sys.Sys;
|
|
import javax.baja.sys.Type;
|
|
|
|
/*
|
|
* Illegal identifiers - consider using --renameillegalidents true
|
|
*/
|
|
public final class BNtpMode
|
|
extends BFrozenEnum {
|
|
public static final int UNSPECIFIED = 0;
|
|
public static final int SYMMETRIC_ACTIVE = 1;
|
|
public static final int SYMMETRIC_PASSIVE = 2;
|
|
public static final int CLIENT = 3;
|
|
public static final int SERVER = 4;
|
|
public static final int BROADCAST = 5;
|
|
public static final int CONTROL_RESERVED = 6;
|
|
public static final int PRIVATE_RESERVED = 7;
|
|
public static final BNtpMode unspecified = new BNtpMode(0);
|
|
public static final BNtpMode symmetricActive = new BNtpMode(1);
|
|
public static final BNtpMode symmetricPassive = new BNtpMode(2);
|
|
public static final BNtpMode client = new BNtpMode(3);
|
|
public static final BNtpMode server = new BNtpMode(4);
|
|
public static final BNtpMode broadcast = new BNtpMode(5);
|
|
public static final BNtpMode controlReserved = new BNtpMode(6);
|
|
public static final BNtpMode privateReserved = new BNtpMode(7);
|
|
public static final Type TYPE;
|
|
public static final BNtpMode DEFAULT;
|
|
static /* synthetic */ Class class$com$tridium$platform$ntp$BNtpMode;
|
|
|
|
public final Type getType() {
|
|
return TYPE;
|
|
}
|
|
|
|
public static final BNtpMode make(int n) {
|
|
return (BNtpMode)unspecified.getRange().get(n, false);
|
|
}
|
|
|
|
public static final BNtpMode make(String string) {
|
|
return (BNtpMode)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 BNtpMode(int n) {
|
|
super(n);
|
|
}
|
|
|
|
static {
|
|
Class clazz = class$com$tridium$platform$ntp$BNtpMode;
|
|
if (clazz == null) {
|
|
clazz = class$com$tridium$platform$ntp$BNtpMode = BNtpMode.class("[Lcom.tridium.platform.ntp.BNtpMode;", false);
|
|
}
|
|
TYPE = Sys.loadType((Class)clazz);
|
|
DEFAULT = unspecified;
|
|
}
|
|
}
|
|
|