| 1 |
// WARNING: This file is autogenerated. DO NOT EDIT! |
| 2 |
// Generated 2018-05-11 03:41:39 +0000 |
| 3 |
package jnr.constants.platform.aix; |
| 4 |
public enum Sock implements jnr.constants.Constant { |
| 5 |
SOCK_STREAM(1L), |
| 6 |
SOCK_DGRAM(2L), |
| 7 |
SOCK_RAW(3L), |
| 8 |
SOCK_RDM(4L), |
| 9 |
SOCK_SEQPACKET(5L); |
| 10 |
// SOCK_MAXADDRLEN not defined |
| 11 |
private final long value; |
| 12 |
private Sock(long value) { this.value = value; } |
| 13 |
public static final long MIN_VALUE = 1L; |
| 14 |
public static final long MAX_VALUE = 5L; |
| 15 |
|
| 16 |
public final int intValue() { return (int) value; } |
| 17 |
public final long longValue() { return value; } |
| 18 |
public final boolean defined() { return true; } |
| 19 |
} |