public static enum Sctp.Chunk.Type extends Enum<Sctp.Chunk.Type> implements ProtocolEnum
Enum Constant and Description |
---|
ABORT
Abort chunk.
|
COOKIE_ACK
Cookie acknowledgment chunk.
|
COOKIE_ECHO
State cookie chunk.
|
CWR
Congestion window reduced (reserved) chunk.
|
DATA
Payload data chunk.
|
ECNE
Explicit congestion notification echo (reserved) chunk.
|
ERROR
Operation error chunk.
|
HEARTBEAT
Heartbeat request chunk.
|
HEARTBEAT_ACK
Heartbeat acknowledgment chunk.
|
INIT
Initiation chunk.
|
INIT_ACK
Initiation acknowledgment chunk.
|
SACK
Selective acknowledgment chunk.
|
SHUTDOWN
Shutdown chunk.
|
SHUTDOWN_ACK
Shutdown acknowledgment chunk.
|
SHUTDOWN_COMPLETE
Shutdown complete chunk.
|
Modifier and Type | Method and Description |
---|---|
int |
code()
Returns the code value for the enumeration constant.
|
static Sctp.Chunk.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sctp.Chunk.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sctp.Chunk.Type DATA
public static final Sctp.Chunk.Type INIT
public static final Sctp.Chunk.Type INIT_ACK
public static final Sctp.Chunk.Type SACK
public static final Sctp.Chunk.Type HEARTBEAT
public static final Sctp.Chunk.Type HEARTBEAT_ACK
public static final Sctp.Chunk.Type ABORT
public static final Sctp.Chunk.Type SHUTDOWN
public static final Sctp.Chunk.Type SHUTDOWN_ACK
public static final Sctp.Chunk.Type ERROR
public static final Sctp.Chunk.Type COOKIE_ECHO
public static final Sctp.Chunk.Type COOKIE_ACK
public static final Sctp.Chunk.Type ECNE
public static final Sctp.Chunk.Type CWR
public static final Sctp.Chunk.Type SHUTDOWN_COMPLETE
public static Sctp.Chunk.Type[] values()
for (Sctp.Chunk.Type c : Sctp.Chunk.Type.values()) System.out.println(c);
public static Sctp.Chunk.Type 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 int code()
ProtocolEnum
code
in interface ProtocolEnum
Copyright © 2016. All Rights Reserved.