Package org.opennms.netmgt.icmp.proxy
Class IPRangeDTO
- java.lang.Object
-
- org.opennms.netmgt.icmp.proxy.IPRangeDTO
-
public class IPRangeDTO extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IPRangeDTO()
IPRangeDTO(java.lang.String begin, java.lang.String end, int retries, int timeout)
IPRangeDTO(java.net.InetAddress begin, java.net.InetAddress end, int retries, long timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.net.InetAddress
getBegin()
java.net.InetAddress
getEnd()
int
getRetries()
long
getTimeout()
int
hashCode()
void
setBegin(java.net.InetAddress begin)
void
setEnd(java.net.InetAddress end)
void
setRetries(int retries)
void
setTimeout(long timeout)
-
-
-
Constructor Detail
-
IPRangeDTO
public IPRangeDTO()
-
IPRangeDTO
public IPRangeDTO(java.net.InetAddress begin, java.net.InetAddress end, int retries, long timeout)
-
IPRangeDTO
public IPRangeDTO(java.lang.String begin, java.lang.String end, int retries, int timeout) throws java.net.UnknownHostException
- Throws:
java.net.UnknownHostException
-
-
Method Detail
-
getBegin
public java.net.InetAddress getBegin()
-
setBegin
public void setBegin(java.net.InetAddress begin)
-
getEnd
public java.net.InetAddress getEnd()
-
setEnd
public void setEnd(java.net.InetAddress end)
-
getRetries
public int getRetries()
-
setRetries
public void setRetries(int retries)
-
getTimeout
public long getTimeout()
-
setTimeout
public void setTimeout(long timeout)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-