DhcpStateMachinepublic interface DhcpStateMachine This class defines the "next steps" which occur after a given DHCP
packet has been received. |
Methods Summary |
---|
public void | onAckReceived(java.net.InetAddress myIpAddress, java.net.InetAddress myNetMask, java.net.InetAddress myGateway, java.util.List myDnsServers, java.net.InetAddress myDhcpServer, int leaseTime)Signals that the final ACK has been received from the server.
| public void | onDeclineReceived(byte[] clientMac, java.net.InetAddress declinedIp)Signals that a client's DECLINE packet has been received with the
specified parameters.
| public void | onDiscoverReceived(boolean broadcast, int transactionId, byte[] clientMac, byte[] requestedParameterList)Signals that a client's DISCOVER packet has been received with the
specified parameters.
| public void | onInformReceived(int transactionId, byte[] clientMac, java.net.InetAddress preassignedIp, byte[] requestedParams)Signals that a client's INFORM packet has been received with the
specified parameters.
| public void | onNakReceived()Signals that a NAK packet has been received.
| public void | onOfferReceived(boolean broadcast, int transactionId, byte[] myMac, java.net.InetAddress offeredIpAddress, java.net.InetAddress serverIpAddress)Signals that an offer packet has been received with the specified
parameters.
| public void | onRequestReceived(boolean broadcast, int transactionId, byte[] clientMac, java.net.InetAddress requestedIp, byte[] requestedParams, java.lang.String clientHostName)Signals that a client's REQUEST packet has been received with the
specified parameters.
|
|