ตั้งแต่ปี 2026 เป็นต้นไป เราจะเผยแพร่ซอร์สโค้ดไปยัง AOSP ในไตรมาสที่ 2 และ 4 เพื่อให้สอดคล้องกับโมเดลการพัฒนาที่เสถียรของ Trunk และรับประกันความเสถียรของแพลตฟอร์มสำหรับระบบนิเวศ เราขอแนะนำให้ใช้ android-latest-release แทน aosp-main ในการสร้างและมีส่วนร่วมใน AOSP android-latest-release สาขาไฟล์ Manifest จะอ้างอิงถึงรุ่นล่าสุดที่พุชไปยัง AOSP เสมอ ดูข้อมูลเพิ่มเติมได้ที่การเปลี่ยนแปลงใน AOSP
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
JdwpAgent
public
abstract
class
JdwpAgent
extends Object
| java.lang.Object
|
| ↳ |
com.android.tradefed.device.server.jdwp.JdwpAgent
|
คลาสย่อยโดยตรงที่ทราบ
| ClientImpl |
ซึ่งแสดงถึงไคลเอ็นต์เดียว โดยปกติจะเป็นกระบวนการ Dalvik VM
|
| โปรแกรมแก้ไขข้อบกพร่อง |
ซึ่งแสดงถึงการเชื่อมต่อที่รอดำเนินการหรือสร้างขึ้นกับดีบักเกอร์ JDWP
|
|
สรุป
เครื่องมือสร้างสาธารณะ
JdwpAgent
public JdwpAgent (JdwpProtocol protocol)
| พารามิเตอร์ |
protocol |
JdwpProtocol |
เมธอดสาธารณะ
addJdwpInterceptor
public void addJdwpInterceptor (JdwpInterceptor interceptor)
| พารามิเตอร์ |
interceptor |
JdwpInterceptor |
ล้าง
public void clear ()
สายเรียกเข้า
public void incoming (JdwpPacket packet,
JdwpAgent target)
| พารามิเตอร์ |
packet |
JdwpPacket |
target |
JdwpAgent |
removeJdwpInterceptor
public void removeJdwpInterceptor (JdwpInterceptor interceptor)
| พารามิเตอร์ |
interceptor |
JdwpInterceptor |
ส่ง
public void send (JdwpPacket packet,
JdwpInterceptor interceptor)
| พารามิเตอร์ |
packet |
JdwpPacket |
interceptor |
JdwpInterceptor |
วิธีการที่ได้รับการป้องกัน
addReplyInterceptor
protected void addReplyInterceptor (int id,
JdwpInterceptor interceptor)
เพิ่ม Interceptor สำหรับรหัสการตอบกลับที่เฉพาะเจาะจง เมื่อตัวสกัดกั้นนี้จัดการการตอบกลับแล้ว ระบบจะนำตัวสกัดกั้นออก
| พารามิเตอร์ |
id |
int |
interceptor |
JdwpInterceptor |
removeReplyInterceptor
protected void removeReplyInterceptor (int id)
นำอินเทอร์เซ็ปเตอร์ออก (หากมี) เพื่อจัดการการตอบกลับด้วยรหัสที่ระบุ
ส่ง
protected abstract void send (JdwpPacket packet)
| พารามิเตอร์ |
packet |
JdwpPacket |
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-12-04 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-12-04 UTC"],[],[]]