Package | Description |
---|---|
org.pcap4j.core |
Modifier and Type | Method and Description |
---|---|
static PcapHandle.PcapDirection |
PcapHandle.PcapDirection.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PcapHandle.PcapDirection[] |
PcapHandle.PcapDirection.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Copyright © 2011–2019 Pcap4J.org. All rights reserved.