jnr.constants.platform.freebsd.SocketMessage Maven / Gradle / Ivy
// WARNING: This file is autogenerated. DO NOT EDIT!
// Generated 2020-09-19 00:15:35 +0000
package jnr.constants.platform.freebsd;
public enum SocketMessage implements jnr.constants.Constant {
MSG_DONTWAIT(0x80L),
MSG_OOB(0x1L),
MSG_PEEK(0x2L),
MSG_DONTROUTE(0x4L),
MSG_EOR(0x8L),
MSG_TRUNC(0x10L),
MSG_CTRUNC(0x20L),
MSG_WAITALL(0x40L),
// MSG_PROXY not defined
// MSG_FIN not defined
// MSG_SYN not defined
// MSG_CONFIRM not defined
// MSG_RST not defined
// MSG_ERRQUEUE not defined
MSG_NOSIGNAL(0x20000L),
// MSG_MORE not defined
// MSG_FASTOPEN not defined
MSG_EOF(0x100L),
// MSG_FLUSH not defined
// MSG_HOLD not defined
// MSG_SEND not defined
// MSG_HAVEMORE not defined
// MSG_RCVMORE not defined
MSG_COMPAT(0x8000L);
private final long value;
private SocketMessage(long value) { this.value = value; }
public static final long MIN_VALUE = 0x1L;
public static final long MAX_VALUE = 0x20000L;
static final class StringTable {
public static final java.util.Map descriptions = generateTable();
public static final java.util.Map generateTable() {
java.util.Map map = new java.util.EnumMap(SocketMessage.class);
map.put(MSG_DONTWAIT, "MSG_DONTWAIT");
map.put(MSG_OOB, "MSG_OOB");
map.put(MSG_PEEK, "MSG_PEEK");
map.put(MSG_DONTROUTE, "MSG_DONTROUTE");
map.put(MSG_EOR, "MSG_EOR");
map.put(MSG_TRUNC, "MSG_TRUNC");
map.put(MSG_CTRUNC, "MSG_CTRUNC");
map.put(MSG_WAITALL, "MSG_WAITALL");
map.put(MSG_NOSIGNAL, "MSG_NOSIGNAL");
map.put(MSG_EOF, "MSG_EOF");
map.put(MSG_COMPAT, "MSG_COMPAT");
return map;
}
}
public final String toString() { return StringTable.descriptions.get(this); }
public final int value() { return (int) value; }
public final int intValue() { return (int) value; }
public final long longValue() { return value; }
public final boolean defined() { return true; }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy