Class PcapInterface

java.lang.Object
pcap.api.internal.PcapInterface
All Implemented Interfaces:
java.lang.Iterable<Interface>, Interface

@Inclubating
public class PcapInterface
extends java.lang.Object
implements Interface
Pcap Interface implementation
Author:
Ardika Rommy Sanjaya
  • Constructor Summary

    Constructors 
    Constructor Description
    PcapInterface​(pcap_mapping.pcap_if pcap_if)  
  • Method Summary

    Modifier and Type Method Description
    Address addresses()  
    java.lang.String description()  
    int flags()  
    boolean isLoopback()
    Is loopback interface?
    boolean isRunning()
    Is interface is running?
    boolean isUp()
    Is interface is up?
    java.util.Iterator<Interface> iterator()  
    java.lang.String name()  
    Interface next()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator