public enum Multicast extends Enum<Multicast> implements Constant
| Enum Constant and Description |
|---|
MCAST_BLOCK_SOURCE |
MCAST_EXCLUDE |
MCAST_INCLUDE |
MCAST_JOIN_GROUP |
MCAST_JOIN_SOURCE_GROUP |
MCAST_LEAVE_GROUP |
MCAST_LEAVE_SOURCE_GROUP |
MCAST_MSFILTER |
MCAST_UNBLOCK_SOURCE |
| Modifier and Type | Field and Description |
|---|---|
static long |
MAX_VALUE |
static long |
MIN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
defined() |
int |
intValue() |
long |
longValue() |
int |
value() |
static Multicast |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Multicast[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Multicast MCAST_JOIN_GROUP
public static final Multicast MCAST_BLOCK_SOURCE
public static final Multicast MCAST_UNBLOCK_SOURCE
public static final Multicast MCAST_LEAVE_GROUP
public static final Multicast MCAST_JOIN_SOURCE_GROUP
public static final Multicast MCAST_LEAVE_SOURCE_GROUP
public static final Multicast MCAST_MSFILTER
public static final Multicast MCAST_EXCLUDE
public static final Multicast MCAST_INCLUDE
public static final long MIN_VALUE
public static final long MAX_VALUE
public static Multicast[] values()
for (Multicast c : Multicast.values()) System.out.println(c);
public static Multicast valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int value()
Copyright © 2025. All rights reserved.