com.dalsemi.tininet.dhcp
Interface DHCPListener


public abstract interface DHCPListener

DHCPListener interface to accept dhcp status messages


Method Summary
 void IPError(java.lang.String error)
          Reports Error in dhcp attempt, program will continue until stopped by the originator
 void IPLeased()
          Report IP is leased, calling application should do any setup required here
 void IPLost()
          Report that machine no longer owns current IP
 void IPRenewed()
          Report that timer ran and the same IP was renewed
 

Method Detail

IPLeased

public void IPLeased()
Report IP is leased, calling application should do any setup required here

IPRenewed

public void IPRenewed()
Report that timer ran and the same IP was renewed

IPLost

public void IPLost()
Report that machine no longer owns current IP

IPError

public void IPError(java.lang.String error)
Reports Error in dhcp attempt, program will continue until stopped by the originator
Parameters:
error - - error that occurred during dhcp attempt 0 = Socket Error 1 = NoReply, network maybe down 2 = Unknown Host Exception thrown 3 = IOExeptionThrown, maybe due to socket not open 4 = Fatal