| 1 |
// WARNING: This file is autogenerated. DO NOT EDIT! |
| 2 |
// Generated 2021-10-08 17:37:33 +0200 |
| 3 |
package jnr.constants.platform.freebsd.aarch64; |
| 4 |
public enum SocketMessage implements jnr.constants.Constant { |
| 5 |
MSG_DONTWAIT(0x80L), |
| 6 |
MSG_OOB(0x1L), |
| 7 |
MSG_PEEK(0x2L), |
| 8 |
MSG_DONTROUTE(0x4L), |
| 9 |
MSG_EOR(0x8L), |
| 10 |
MSG_TRUNC(0x10L), |
| 11 |
MSG_CTRUNC(0x20L), |
| 12 |
MSG_WAITALL(0x40L), |
| 13 |
// MSG_PROXY not defined |
| 14 |
// MSG_FIN not defined |
| 15 |
// MSG_SYN not defined |
| 16 |
// MSG_CONFIRM not defined |
| 17 |
// MSG_RST not defined |
| 18 |
// MSG_ERRQUEUE not defined |
| 19 |
MSG_NOSIGNAL(0x20000L), |
| 20 |
// MSG_MORE not defined |
| 21 |
// MSG_FASTOPEN not defined |
| 22 |
MSG_EOF(0x100L), |
| 23 |
// MSG_FLUSH not defined |
| 24 |
// MSG_HOLD not defined |
| 25 |
// MSG_SEND not defined |
| 26 |
// MSG_HAVEMORE not defined |
| 27 |
// MSG_RCVMORE not defined |
| 28 |
MSG_COMPAT(0x8000L); |
| 29 |
private final long value; |
| 30 |
private SocketMessage(long value) { this.value = value; } |
| 31 |
public static final long MIN_VALUE = 0x1L; |
| 32 |
public static final long MAX_VALUE = 0x20000L; |
| 33 |
|
| 34 |
static final class StringTable { |
| 35 |
public static final java.util.Map<SocketMessage, String> descriptions = generateTable(); |
| 36 |
public static final java.util.Map<SocketMessage, String> generateTable() { |
| 37 |
java.util.Map<SocketMessage, String> map = new java.util.EnumMap<SocketMessage, String>(SocketMessage.class); |
| 38 |
map.put(MSG_DONTWAIT, "MSG_DONTWAIT"); |
| 39 |
map.put(MSG_OOB, "MSG_OOB"); |
| 40 |
map.put(MSG_PEEK, "MSG_PEEK"); |
| 41 |
map.put(MSG_DONTROUTE, "MSG_DONTROUTE"); |
| 42 |
map.put(MSG_EOR, "MSG_EOR"); |
| 43 |
map.put(MSG_TRUNC, "MSG_TRUNC"); |
| 44 |
map.put(MSG_CTRUNC, "MSG_CTRUNC"); |
| 45 |
map.put(MSG_WAITALL, "MSG_WAITALL"); |
| 46 |
map.put(MSG_NOSIGNAL, "MSG_NOSIGNAL"); |
| 47 |
map.put(MSG_EOF, "MSG_EOF"); |
| 48 |
map.put(MSG_COMPAT, "MSG_COMPAT"); |
| 49 |
return map; |
| 50 |
} |
| 51 |
} |
| 52 |
public final String toString() { return StringTable.descriptions.get(this); } |
| 53 |
public final int value() { return (int) value; } |
| 54 |
public final int intValue() { return (int) value; } |
| 55 |
public final long longValue() { return value; } |
| 56 |
public final boolean defined() { return true; } |
| 57 |
} |