Build 1.0_r1(from source)

android.ddm
Class DdmHandleHello

java.lang.Object
  extended by org.apache.harmony.dalvik.ddmc.ChunkHandler
      extended by android.ddm.DdmHandleHello

public class DdmHandleHello
extends org.apache.harmony.dalvik.ddmc.ChunkHandler

Handle a HELO chunk.


Field Summary
static int CHUNK_HELO
           
static int CHUNK_WAIT
           
 
Fields inherited from class org.apache.harmony.dalvik.ddmc.ChunkHandler
CHUNK_FAIL, CHUNK_ORDER
 
Method Summary
 void connected()
          Called when the DDM server connects.
 void disconnected()
          Called when the DDM server disconnects.
 org.apache.harmony.dalvik.ddmc.Chunk handleChunk(org.apache.harmony.dalvik.ddmc.Chunk request)
          Handle a chunk of data.
static void register()
          Register for the messages we're interested in.
static void sendWAIT(int reason)
          Send up a WAIT chunk.
 
Methods inherited from class org.apache.harmony.dalvik.ddmc.ChunkHandler
createFailChunk, getString, name, putString, type, wrapChunk
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHUNK_HELO

public static final int CHUNK_HELO

CHUNK_WAIT

public static final int CHUNK_WAIT
Method Detail

register

public static void register()
Register for the messages we're interested in.


connected

public void connected()
Called when the DDM server connects. The handler is allowed to send messages to the server.

Specified by:
connected in class org.apache.harmony.dalvik.ddmc.ChunkHandler

disconnected

public void disconnected()
Called when the DDM server disconnects. Can be used to disable periodic transmissions or clean up saved state.

Specified by:
disconnected in class org.apache.harmony.dalvik.ddmc.ChunkHandler

handleChunk

public org.apache.harmony.dalvik.ddmc.Chunk handleChunk(org.apache.harmony.dalvik.ddmc.Chunk request)
Handle a chunk of data. We're only registered for "HELO".

Specified by:
handleChunk in class org.apache.harmony.dalvik.ddmc.ChunkHandler

sendWAIT

public static void sendWAIT(int reason)
Send up a WAIT chunk. The only currently defined value for "reason" is zero, which means "waiting for a debugger".


Build 1.0_r1(from source)

Please submit a feedback, bug or feature