Once the transmitter API was defined, we wrote the TransmitterAdapter to bridge the gap.The ADAPTER2 encapsulated the interaction with the API and provides a single place to change when the API evolves.
เมื่อส่งสัญญาณ API ถูกกำหนดเราเขียน TransmitterAdapter ที่จะสร้างสะพานเชื่อม gap.The adapter2 ห่อหุ้มปฏิสัมพันธ์กับ API และให้เป็นสถานที่เดียวที่จะเปลี่ยนเมื่อ API วิวัฒนาการ