public static enum ICMPPacket.Type extends Enum<ICMPPacket.Type>
列挙型定数と説明 |
---|
DEST_UNREACHABLE
タイプ:destination unreachable
|
ECHO_REPLY
タイプ:echo reply
|
ECHO_REQUEST
タイプ:echo request
|
INFO_REPLY
タイプ:information reply
|
INFO_REQUEST
タイプ:information request
|
MASK_REPLY
タイプ:mask reply
|
MASK_REQUEST
タイプ:mask request
|
PARAMETER_PROBLEM
タイプ:parameter problem
|
REDIRECT
タイプ:redirect
|
SOURCE_QUENCH
タイプ:source quench
|
TIME_EXCEEDED
タイプ:time exceeded
|
TIMESTAMP_REPLY
タイプ:timestamp reply
|
TIMESTAMP_REQUEST
タイプ:timestamp request
|
修飾子とタイプ | メソッドと説明 |
---|---|
static ICMPPacket.Type |
findType(byte code) |
static ICMPPacket.Type |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static ICMPPacket.Type[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final ICMPPacket.Type ECHO_REPLY
public static final ICMPPacket.Type DEST_UNREACHABLE
public static final ICMPPacket.Type SOURCE_QUENCH
public static final ICMPPacket.Type REDIRECT
public static final ICMPPacket.Type ECHO_REQUEST
public static final ICMPPacket.Type TIME_EXCEEDED
public static final ICMPPacket.Type PARAMETER_PROBLEM
public static final ICMPPacket.Type TIMESTAMP_REQUEST
public static final ICMPPacket.Type TIMESTAMP_REPLY
public static final ICMPPacket.Type INFO_REQUEST
public static final ICMPPacket.Type INFO_REPLY
public static final ICMPPacket.Type MASK_REQUEST
public static final ICMPPacket.Type MASK_REPLY
public static ICMPPacket.Type[] values()
for(ICMPPacket.Type c: ICMPPacket.Type.values()) System.out.println(c);
public static ICMPPacket.Type valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合public static ICMPPacket.Type findType(byte code)
Copyright © 2021 S.D.S Co.,Ltd.. All rights reserved.