public class CommandMessage extends Message
| Modifier and Type | Field and Description |
|---|---|
static int |
POKE |
static int |
QUIT |
static int |
RUNNABLE |
| Constructor and Description |
|---|
CommandMessage() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Runnable |
getRunnable() |
int |
getWhat() |
protected void |
onRecycled() |
void |
set(int what) |
void |
setRunnable(java.lang.Runnable runnable) |
java.lang.String |
toString() |
public static final int QUIT
public static final int POKE
public static final int RUNNABLE
protected void onRecycled()
onRecycled in class Messagepublic int getWhat()
public void set(int what)
public java.lang.Runnable getRunnable()
public void setRunnable(java.lang.Runnable runnable)
public java.lang.String toString()
toString in class java.lang.Object