|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.provision.detector.dhcp.client.DhcpClient
public class DhcpClient
DhcpClient class.
| Constructor Summary | |
|---|---|
DhcpClient()
|
|
| Method Summary | |
|---|---|
void |
close()
close |
void |
connect(InetAddress address,
int port,
int timeout)
connect |
int |
getRetries()
getRetries |
DhcpResponse |
receiveBanner()
receiveBanner |
DhcpResponse |
sendRequest(DhcpRequest request)
sendRequest |
void |
setRetries(int retries)
setRetries |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DhcpClient()
| Method Detail |
|---|
public void close()
close
close in interface Client<DhcpRequest,DhcpResponse>
public void connect(InetAddress address,
int port,
int timeout)
throws IOException,
Exception
connect
connect in interface Client<DhcpRequest,DhcpResponse>address - a InetAddress object.port - a int.timeout - a int.
IOException - if any.
Exception - if any.
public DhcpResponse receiveBanner()
throws IOException,
Exception
receiveBanner
receiveBanner in interface Client<DhcpRequest,DhcpResponse>DhcpResponse object.
IOException - if any.
Exception - if any.
public DhcpResponse sendRequest(DhcpRequest request)
throws IOException,
Exception
sendRequest
sendRequest in interface Client<DhcpRequest,DhcpResponse>request - a DhcpRequest object.
DhcpResponse object.
IOException - if any.
Exception - if any.public void setRetries(int retries)
setRetries
retries - a int.public int getRetries()
getRetries
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||