2012年5月15日星期二

What Is The Fiber Optic Adapter?

The Fiber Optic Adapter is an interface converter, it can be a stand-alone hardware interface devices allow connected to the hardware or electronic interface with other hardware or electronic interface, the information interface. Such as: power adapter, tripod base adapter parts, USB and serial port adapter equipment and so on.
In the computer, the Flange Fiber Optic Adapters is usually built-in can be inserted into the card slot on the motherboard (external) ... to be exchanged between the card in the adapter and the processor and adapters supported devices.
The power adapter is the supply of small portable electronic devices and electrical and electronic power conversion equipment, generally by the shell, the power transformer and rectifier circuit according to the output type can be divided into the AC output and DC-output type; can be divided according to the connection wall mount and desktop. Mobile PC battery power adapter to its particularly important.
The majority of mobile PC's power adapter can automatically detect the 100 ~ 240V AC (50/60Hz). Basically all mobile PC regarded the external power supply, connected with a line and host, which can reduce the size and weight of the host, only a handful of models to power built into the host. On the power adapter has a nameplate marked with the power of the above, enter the output voltage and current indicators, with particular attention to the input voltage range, which is the so-called "Travel power adapter.
When the MBean registered with the MBean server, you need to with these the MBean interoperability agreement, and requests from management applications to retrieve information. This is enabled through the protocol adapter, which will manage the application data is converted to a standard protocol information.
Multi-protocol proxy support protocol adapter include: SNMP, TL1, the RMI, CORBA, HTTP and HTML adapter.
In the actual development process, we often encounter such a thing, we developed based on the initial demand for a base class, learned of the detailed requirements in the development process or demand changes. Interface development work had already been defined, and has been massive investment in the coding. At this point, if the changes to the definition of the interface will cause a lot of coding on the repeatability of the adaptation process, and thus may result in semantic errors or logic errors caused by the changes do not fully Semantic errors can still be found at compile time, in the event of a logical error, the consequences will be very serious, or even enough to cause a system crash. At this point you need to use the design of the adapter pattern.
In computer programming, the adapter mode (sometimes also known as package styles or packaging) an interface adapter into the user would expect. Allow an adapter is usually because of incompatible interfaces can not be together the work of the class work together, the approach is the class's own interface wrapped in a class.
Mode is mainly used in the adapter, when the method defined in the interface unable to meet customer demand, or conflict with the name of the method or methods defined in the interface interface with customer demand.
Adapter mode to use:
Inherit the interface of a class at the same time, and known to use methods and properties of the known classes defined interface definition (using mainly a way to override the interface method). Such as the base class of other business, this class adapter interface, and known. Known class changes, simply modify the class adapter, to meet the implementation of the interface.

没有评论:

发表评论