|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--com.dalsemi.tininet.dhcp.DHCPClient
DHCPClient extends thread, call run to start dhcp process
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY,
MIN_PRIORITY,
NORM_PRIORITY |
| Constructor Summary | |
DHCPClient(DHCPListener DL)
Constructor to start dhcp action to obtain a new IP DHCPClient passed listener so dhcp events can be reported |
|
DHCPClient(DHCPListener DL,
byte[] SIP,
byte[] YIP)
Init-Reboot Constructor to attempt to rebind to previous IP that was lost in a reboot |
|
| Method Summary | |
void |
addDHCPListener(DHCPListener newListener)
|
void |
removeDHCPListener(DHCPListener thisListener)
|
void |
run()
Run Method to start dhcp thread |
void |
stopDHCPThread()
Method to stopDHCPThread, release ip, and close socket |
java.lang.String |
toString(int err)
|
| Methods inherited from class java.lang.Thread |
activeCount,
checkAccess,
countStackFrames,
currentThread,
destroy,
dumpStack,
enumerate,
getContextClassLoader,
getName,
getPriority,
getThreadGroup,
interrupt,
interrupted,
isAlive,
isDaemon,
isInterrupted,
join,
join,
join,
resume,
setContextClassLoader,
setDaemon,
setName,
setPriority,
sleep,
sleep,
start,
stop,
stop,
suspend,
toString,
yield |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public DHCPClient(DHCPListener DL)
throws java.lang.IllegalStateException
DL - - DHCPListener
public DHCPClient(DHCPListener DL,
byte[] SIP,
byte[] YIP)
throws java.lang.IllegalStateException
DL - DHCPListenerSIP - IP of DHCP server where previous IP was obtainedYIP - IP to obtain| Method Detail |
public void run()
public void stopDHCPThread()
public java.lang.String toString(int err)
public void addDHCPListener(DHCPListener newListener)
public void removeDHCPListener(DHCPListener thisListener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||