クラスの使用
org.pcap4j.core.PcapHandle.PcapDirection
-
PcapHandle.PcapDirectionを使用しているパッケージ パッケージ 説明 org.pcap4j.core -
-
org.pcap4j.coreでのPcapHandle.PcapDirectionの使用
PcapHandle.PcapDirectionを返すorg.pcap4j.coreのメソッド 修飾子とタイプ メソッド 説明 static PcapHandle.PcapDirection
PcapHandle.PcapDirection. valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と正確に 一致している必要があります。(余分な空白文字を含めることは できません。)static PcapHandle.PcapDirection[]
PcapHandle.PcapDirection. values()
この列挙型の定数を含む配列を宣言されている順序で返します。 このメソッドは次のようにして定数を反復するために 使用できます:for (PcapHandle.PcapDirection c : PcapHandle.PcapDirection.values()) System.out.println(c);
PcapHandle.PcapDirection型のパラメータを持つorg.pcap4j.coreのメソッド 修飾子とタイプ メソッド 説明 PcapHandle.Builder
PcapHandle.Builder. direction(PcapHandle.PcapDirection direction)
Set direction flag, which controls whether we accept only incoming packets, only outgoing packets, or both.void
PcapHandle. setDirection(PcapHandle.PcapDirection direction)
Set direction flag, which controls whether we accept only incoming packets, only outgoing packets, or both.
-