public static enum Sctp.CheckSumType extends Enum<Sctp.CheckSumType>
Enum Constant and Description |
---|
ADLER32
Used to set the checksum algorithm to use Adler32.
|
CRC32C
Used to set the checksum algorithm to use CRC32c.
|
Modifier and Type | Method and Description |
---|---|
static Sctp.CheckSumType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sctp.CheckSumType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sctp.CheckSumType CRC32C
public static final Sctp.CheckSumType ADLER32
public static Sctp.CheckSumType[] values()
for (Sctp.CheckSumType c : Sctp.CheckSumType.values()) System.out.println(c);
public static Sctp.CheckSumType 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.