public class DdmHandleAppName extends ChunkHandler
| Modifier and Type | Field and Description |
|---|---|
static int |
CHUNK_APNM |
CHUNK_FAIL, CHUNK_ORDER| Modifier and Type | Method and Description |
|---|---|
void |
connected()
Called when the DDM server connects.
|
void |
disconnected()
Called when the DDM server disconnects.
|
static String |
getAppName() |
Chunk |
handleChunk(Chunk request)
Handle a chunk of data.
|
static void |
register()
Register for the messages we're interested in.
|
static void |
setAppName(String name,
int userId)
Set the application name.
|
createFailChunk, getString, name, putString, type, wrapChunkpublic static void register()
public void connected()
connected in class ChunkHandlerpublic void disconnected()
disconnected in class ChunkHandlerpublic Chunk handleChunk(Chunk request)
handleChunk in class ChunkHandlerpublic static void setAppName(String name, int userId)
public static String getAppName()