CapabilitiesNewReply
public
class
CapabilitiesNewReply
extends JdwpPayload
| java.lang.Object | ||
| ↳ | com.android.tradefed.device.server.jdwp.JdwpPayload | |
| ↳ | com.android.tradefed.device.server.jdwp.packets.CapabilitiesNewReply | |
Payload respons CapabilitiesNew dari protokol JDWP.
Ringkasan
Konstanta | |
|---|---|
int |
CAN_REDEFINE_CLASSES_DEX_IDX
|
int |
CAN_REDEFINE_CLASSES_IDX
|
Konstruktor publik | |
|---|---|
CapabilitiesNewReply()
|
|
Metode publik | |
|---|---|
ByteBuffer
|
getConverted()
Konversi payload respons sehingga jika kita berbicara dengan perangkat Android dan perangkat tersebut memiliki kemampuan RedefineClasses, byte CanRedefineClasses disetel ke benar (true). |
void
|
parse(ByteBuffer buffer, JdwpProtocol protocol)
|
Konstanta
CAN_REDEFINE_CLASSES_DEX_IDX
public static final int CAN_REDEFINE_CLASSES_DEX_IDX
Nilai Konstanta: 31 (0x0000001f)
CAN_REDEFINE_CLASSES_IDX
public static final int CAN_REDEFINE_CLASSES_IDX
Nilai Konstanta: 7 (0x00000007)
Konstruktor publik
CapabilitiesNewReply
public CapabilitiesNewReply ()
Metode publik
getConverted
public ByteBuffer getConverted ()
Konversi payload respons sehingga jika kita berbicara dengan perangkat Android dan perangkat tersebut memiliki kemampuan RedefineClasses, byte CanRedefineClasses disetel ke benar (true). Perhatikan bahwa byte tersebut biasanya tidak pernah disetel saat berkomunikasi dengan perangkat Android karena mencoba mencegah debugger memasukkan file class Java lama.
| Hasil | |
|---|---|
ByteBuffer |
|
parse
public void parse (ByteBuffer buffer,
JdwpProtocol protocol)| Parameter | |
|---|---|
buffer |
ByteBuffer |
protocol |
JdwpProtocol |