关闭
点击这里给我发消息
James Xie
点击这里给我发消息
Jack Ye
Product categories
Contact us
Shenzhen RealWell Electronics Co.,Ltd.
Tel:+86-755-85289284
Fax:+86-755-85289284
Contact:+86-15323918988Mr. Xie
Contact:+86-13823688270Mr. Ye
Add: Bao'an District of Shenzhen City streets by the people by the people Avenue spurs Wong Ka Commercial Plaza B714
Skype: james18988
QQ: 306480920 James Xie
QQ: 402138600 Jack Ye

Adapter equipment Introduction


English translation adapter is Adapter / adaptor of. Adapter is an interface converter, it can be a separate hardware interface device, allows hardware or electronic interface with other hardware or electronic interface is connected, it can be an interface. For example: power adapter, tripod adapter base component, USB and serial port adapter equipment.


Adapters (Adapters) is an interface converter, it can be a separate hardware interface device, allows hardware or electronic interface is connected to other hardware or electronic interface, can also be an interface. For example: power adapter, tripod adapter base component, USB and serial port adapter equipment.

In the computer, the adapter is usually built into the can into the card slot on the motherboard (also external) ... between the adapter card information processor and adapter supports equipment exchange.

The power adapter is a small portable electronic devices and electrical and electronic power supply conversion device, generally by shell, power transformers and rectifier circuit, its output can be divided into AC output type and DC output type; press connections can be plugged into the wall and desktop. Mobile PC because there is no battery, power adapter it is particularly important.


Most mobile PC power adapter can automatically detect 100 ~ 240V AC (50 / 60Hz). Basically all mobile PC regarded external power supply, with a line and host connectivity, so you can reduce the size and weight of the host, only a handful of models the power built into the host. In the power adapter has a nameplate above the marked power, input and output voltage and current amount and other indicators, with particular attention to the input voltage range, which is called "travel power adapter."

When MBean registered in the MBean server, you need to interact with the agreement of these MBean operations and sent a request to retrieve information from the management application. This is enabled by the protocol adapter, it will manage the application data into standard protocol information.

Multi-protocol proxy protocols supported adapters include: SNMP, TL1, RMI, CORBA, HTTP and HTML adapter.

In the actual development process, we often encounter such a thing, we developed a base class based on initial demand, in the development process learned of detailed requirements or needs have changed. The development work has already been defined interfaces, and has large-scale investment code. At this point, if the changes will result in modifying the interface definition work on a lot of repetitive coding, and thus may cause semantic error caused modify incomplete or logic errors. Semantic error still can be found at compile time, but once logical error, consequences will be very serious, even enough to cause a system crash. At this point we need to use the design method of the Adapter pattern.

In computer programming, the adapter mode (sometimes called package styles or packaging) will interface adaptation into a class of users expect. An adapter allows the usually because of incompatible interfaces can not work together with class work, practice is to wrap own interface class in an existing class.

Adapter mode is mainly used when the case of the method defined in the interface can not meet the needs of customers, or the name or method interface methods defined in the interface with the customer demand conflict.

Adapter mode to use:

One class inherits the interface and the known classes using known methods and properties defined in the class, to achieve the interface definition (the main advantage way overloaded interface method). The use of such other business as the base class, that is, the class interface adapter and known classes. If the change occurs is known class, simply modify the class adapter, to meet the interface.