public class DcController extends StateMachine
StateMachine.LogRec
HANDLED, NOT_HANDLED
Modifier and Type | Method and Description |
---|---|
void |
addActiveDcByCid(DataConnection dc) |
void |
dump(FileDescriptor fd,
PrintWriter pw,
String[] args)
Dump the current state.
|
DataConnection |
getActiveDcByCid(int cid) |
protected String |
getWhatToString(int what) |
protected void |
log(String s)
Log with debug
|
protected void |
loge(String s)
Log with error attribute
|
static DcController |
makeDcc(Phone phone,
DcTracker dct,
Handler handler) |
String |
toString()
Returns a string representation of the object.
|
addLogRec, addState, addState, copyLogRecs, deferMessage, getCurrentMessage, getCurrentState, getHandler, getLogRec, getLogRecCount, getLogRecSize, getLogRecString, getName, haltedProcessMessage, hasDeferredMessages, hasMessages, isDbg, isQuit, logAndAddLogRec, logd, loge, logi, logv, logw, obtainMessage, obtainMessage, obtainMessage, obtainMessage, obtainMessage, obtainMessage, onHalting, onPostHandleMessage, onPreHandleMessage, onQuitting, 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, transitionTo, transitionToHaltingState, unhandledMessage
public static DcController makeDcc(Phone phone, DcTracker dct, Handler handler)
public void addActiveDcByCid(DataConnection dc)
public DataConnection getActiveDcByCid(int cid)
protected void log(String s)
StateMachine
log
in class StateMachine
s
- is string logprotected void loge(String s)
StateMachine
loge
in class StateMachine
s
- is string logprotected String getWhatToString(int what)
getWhatToString
in class StateMachine
public String toString()
Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString
in class StateMachine
public void dump(FileDescriptor fd, PrintWriter pw, String[] args)
StateMachine
dump
in class StateMachine