net.named_data.jndn.util
public static enum SegmentFetcher.ErrorCode extends Enum<SegmentFetcher.ErrorCode>
Enum Constant and Description |
---|
DATA_HAS_NO_SEGMENT |
INTEREST_TIMEOUT |
IO_ERROR |
SEGMENT_VERIFICATION_FAILED |
Modifier and Type | Method and Description |
---|---|
static SegmentFetcher.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SegmentFetcher.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SegmentFetcher.ErrorCode INTEREST_TIMEOUT
public static final SegmentFetcher.ErrorCode DATA_HAS_NO_SEGMENT
public static final SegmentFetcher.ErrorCode SEGMENT_VERIFICATION_FAILED
public static final SegmentFetcher.ErrorCode IO_ERROR
public static SegmentFetcher.ErrorCode[] values()
for (SegmentFetcher.ErrorCode c : SegmentFetcher.ErrorCode.values()) System.out.println(c);
public static SegmentFetcher.ErrorCode 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 nullCopyright © 2016. All rights reserved.