public class DhcpClient extends StateMachine
StateMachine.LogRec
Modifier and Type | Field and Description |
---|---|
static int |
CMD_CLEAR_LINKADDRESS |
static int |
CMD_CONFIGURE_LINKADDRESS |
static int |
CMD_ON_QUIT |
static int |
CMD_POST_DHCP_ACTION |
static int |
CMD_PRE_DHCP_ACTION |
static int |
CMD_PRE_DHCP_ACTION_COMPLETE |
static int |
CMD_START_DHCP |
static int |
CMD_STOP_DHCP |
static int |
DHCP_FAILURE |
static int |
DHCP_SUCCESS |
static int |
EVENT_LINKADDRESS_CONFIGURED |
HANDLED, NOT_HANDLED
Modifier and Type | Method and Description |
---|---|
void |
doQuit()
Quit the DhcpStateMachine.
|
boolean |
isValidPacket(android.net.dhcp.DhcpPacket packet) |
static DhcpClient |
makeDhcpClient(Context context,
StateMachine controller,
String intf) |
protected void |
onQuitting()
This will be called once after a quit message that was NOT handled by
the derived StateMachine.
|
void |
registerForPreDhcpNotification() |
void |
setDhcpLeaseExpiry(android.net.dhcp.DhcpPacket packet) |
addLogRec, addState, addState, copyLogRecs, deferMessage, dump, getCurrentMessage, getCurrentState, getHandler, getLogRec, getLogRecCount, getLogRecSize, getLogRecString, getName, getWhatToString, haltedProcessMessage, hasDeferredMessages, hasMessages, isDbg, isQuit, log, logAndAddLogRec, logd, loge, loge, logi, logv, logw, obtainMessage, obtainMessage, obtainMessage, obtainMessage, obtainMessage, obtainMessage, onHalting, onPostHandleMessage, onPreHandleMessage, quit, quitNow, recordLogRec, removeDeferredMessages, removeMessages, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessageAtFrontOfQueue, sendMessageAtFrontOfQueue, sendMessageAtFrontOfQueue, sendMessageAtFrontOfQueue, sendMessageAtFrontOfQueue, sendMessageAtFrontOfQueue, sendMessageDelayed, sendMessageDelayed, sendMessageDelayed, sendMessageDelayed, sendMessageDelayed, sendMessageDelayed, setDbg, setInitialState, setLogOnlyTransitions, setLogRecSize, start, toString, transitionTo, transitionToHaltingState, unhandledMessage
public static final int CMD_START_DHCP
public static final int CMD_STOP_DHCP
public static final int CMD_PRE_DHCP_ACTION
public static final int CMD_POST_DHCP_ACTION
public static final int CMD_ON_QUIT
public static final int CMD_PRE_DHCP_ACTION_COMPLETE
public static final int CMD_CLEAR_LINKADDRESS
public static final int CMD_CONFIGURE_LINKADDRESS
public static final int EVENT_LINKADDRESS_CONFIGURED
public static final int DHCP_SUCCESS
public static final int DHCP_FAILURE
public void registerForPreDhcpNotification()
public static DhcpClient makeDhcpClient(Context context, StateMachine controller, String intf)
public void doQuit()
protected void onQuitting()
StateMachine
onQuitting
in class StateMachine
public boolean isValidPacket(android.net.dhcp.DhcpPacket packet)
public void setDhcpLeaseExpiry(android.net.dhcp.DhcpPacket packet)