public enum Multicast extends Enum<Multicast> implements Constant
| Enum Constant and Description |
|---|
__UNKNOWN_CONSTANT__ |
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 | Method and Description |
|---|---|
boolean |
defined() |
String |
description() |
int |
intValue() |
long |
longValue() |
String |
toString() |
int |
value() |
static Multicast |
valueOf(long 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 Multicast __UNKNOWN_CONSTANT__
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()
public final String description()
public static Multicast valueOf(long value)
Copyright © 2025. All rights reserved.