列挙 SctpChunkType.ActionForUnkownType
- java.lang.Object
-
- java.lang.Enum<SctpChunkType.ActionForUnkownType>
-
- org.pcap4j.packet.namednumber.SctpChunkType.ActionForUnkownType
-
- すべての実装されたインタフェース:
Serializable
,Comparable<SctpChunkType.ActionForUnkownType>
- 含まれているクラス:
- SctpChunkType
public static enum SctpChunkType.ActionForUnkownType extends Enum<SctpChunkType.ActionForUnkownType>
Action that must be taken if the processing endpoint does not recognize the Chunk Type. (highest-order 2 bits of the Chunk Type)- 導入されたバージョン:
- pcap4j 1.6.6
- 作成者:
- Kaito Yamada
- 関連項目:
- RFC 4960
-
-
列挙型定数の概要
列挙定数 列挙型定数 説明 DISCARD
Stop processing this SCTP packet and discard it, do not process any further chunks within it.DISCARD_AND_REPORT
Stop processing this SCTP packet and discard it, do not process any further chunks within it, and report the unrecognized chunk in an 'Unrecognized Chunk Type'.SKIP
Skip this chunk and continue processing.SKIP_AND_REPORT
Skip this chunk and continue processing, but report in an ERROR chunk using the 'Unrecognized Chunk Type' cause of error.
-
メソッドの概要
すべてのメソッド staticメソッド concreteメソッド 修飾子とタイプ メソッド 説明 static SctpChunkType.ActionForUnkownType
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と正確に 一致している必要があります。(余分な空白文字を含めることは できません。)static SctpChunkType.ActionForUnkownType[]
values()
この列挙型の定数を含む配列を宣言されている順序で返します。 このメソッドは次のようにして定数を反復するために 使用できます:for (SctpChunkType.ActionForUnkownType c : SctpChunkType.ActionForUnkownType.values()) System.out.println(c);
-
-
-
列挙型定数の詳細
-
DISCARD
public static final SctpChunkType.ActionForUnkownType DISCARD
Stop processing this SCTP packet and discard it, do not process any further chunks within it.
-
DISCARD_AND_REPORT
public static final SctpChunkType.ActionForUnkownType DISCARD_AND_REPORT
Stop processing this SCTP packet and discard it, do not process any further chunks within it, and report the unrecognized chunk in an 'Unrecognized Chunk Type'.
-
SKIP
public static final SctpChunkType.ActionForUnkownType SKIP
Skip this chunk and continue processing.
-
SKIP_AND_REPORT
public static final SctpChunkType.ActionForUnkownType SKIP_AND_REPORT
Skip this chunk and continue processing, but report in an ERROR chunk using the 'Unrecognized Chunk Type' cause of error.
-
-
メソッドの詳細
-
values
public static SctpChunkType.ActionForUnkownType[] values()
この列挙型の定数を含む配列を宣言されている順序で返します。 このメソッドは次のようにして定数を反復するために 使用できます:for (SctpChunkType.ActionForUnkownType c : SctpChunkType.ActionForUnkownType.values()) System.out.println(c);
- 戻り値:
- この列挙型の定数を含む、宣言されている順序での配列
-
valueOf
public static SctpChunkType.ActionForUnkownType valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と正確に 一致している必要があります。(余分な空白文字を含めることは できません。)- パラメータ:
name
- 返される列挙型定数の名前。- 戻り値:
- 指定した名前の列挙型定数
- 例外:
IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合
-
-