Package pcap.api.internal
Class PcapAddress
java.lang.Object
pcap.api.internal.PcapAddress
- All Implemented Interfaces:
java.lang.Iterable<pcap.spi.Address>,pcap.spi.Address
@Inclubating
public class PcapAddress
extends java.lang.Object
implements pcap.spi.Address
Pcap Address implementation- Author:
- Ardika Rommy Sanjaya
-
Method Details
-
next
public pcap.spi.Address next()- Specified by:
nextin interfacepcap.spi.Address
-
address
public java.net.InetAddress address()- Specified by:
addressin interfacepcap.spi.Address
-
netmask
public java.net.InetAddress netmask()- Specified by:
netmaskin interfacepcap.spi.Address
-
broadcast
public java.net.InetAddress broadcast()- Specified by:
broadcastin interfacepcap.spi.Address
-
destination
public java.net.InetAddress destination()- Specified by:
destinationin interfacepcap.spi.Address
-
iterator
public java.util.Iterator<pcap.spi.Address> iterator()- Specified by:
iteratorin interfacejava.lang.Iterable<pcap.spi.Address>
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-