Package org.jboss.netty.handler.ipfilter
Class CIDR6
java.lang.Object
org.jboss.netty.handler.ipfilter.CIDR
org.jboss.netty.handler.ipfilter.CIDR6
- All Implemented Interfaces:
Comparable<CIDR>
-
Field Summary
Fields inherited from class org.jboss.netty.handler.ipfilter.CIDR
baseAddress, cidrMask -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleancontains(InetAddress inetAddress) Compares the given InetAddress against the CIDR and returns true if the ip is in the subnet-ip-range and false if not.Methods inherited from class org.jboss.netty.handler.ipfilter.CIDR
equals, getBaseAddress, getIpV4FromIpV6, getIpV6FromIpV4, getMask, hashCode, newCIDR, newCIDR, newCIDR, toString
-
Constructor Details
-
CIDR6
-
-
Method Details
-
getEndAddress
- Specified by:
getEndAddressin classCIDR- Returns:
- the end address of this block.
-
compareTo
-
contains
Description copied from class:CIDRCompares the given InetAddress against the CIDR and returns true if the ip is in the subnet-ip-range and false if not.
-