|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jnetpcap.util.resolver.AbstractResolver
org.jnetpcap.util.resolver.IpResolver
public class IpResolver
A resolver object that knows how to convert IP addresses into hostnames.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jnetpcap.util.resolver.Resolver |
|---|
Resolver.ResolverType |
| Field Summary |
|---|
| Fields inherited from class org.jnetpcap.util.resolver.AbstractResolver |
|---|
INFINITE_TIMEOUT, logger |
| Fields inherited from interface org.jnetpcap.util.resolver.Resolver |
|---|
RESOLVER_SEARCH_PATH_PROPERTY |
| Constructor Summary | |
|---|---|
IpResolver()
Instantiates a new ip resolver. |
|
| Method Summary | |
|---|---|
java.lang.String |
resolveToName(byte[] address,
long hash)
Resolve to name. |
protected java.lang.String |
resolveToName(long number,
long hash)
Resolve to name. |
long |
toHashCode(byte[] address)
To hash code. |
| Methods inherited from class org.jnetpcap.util.resolver.AbstractResolver |
|---|
addToCache, addToCache, canBeResolved, clearCache, finalize, getCacheCapacity, getCacheLoadFactor, getNegativeTimeout, getPositiveTimeout, hasCacheFile, initializeIfNeeded, isCached, loadCache, loadCache, loadCache, propertyChange, resolve, saveCache, saveCache, setCacheCapacity, setCacheLoadFactor, setNegativeTimeout, setPositiveTimeout, toHashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IpResolver()
| Method Detail |
|---|
public java.lang.String resolveToName(byte[] address,
long hash)
resolveToName in class AbstractResolveraddress - the addresshash - the hash
AbstractResolver.resolveToName(byte[],
long)public long toHashCode(byte[] address)
toHashCode in class AbstractResolveraddress - the address
AbstractResolver.toHashCode(byte[])
protected java.lang.String resolveToName(long number,
long hash)
resolveToName in class AbstractResolvernumber - the numberhash - the hash
AbstractResolver.resolveToName(long, long)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||