Interfaces Defining an interface between a client and a component is l dịch - Interfaces Defining an interface between a client and a component is l Việt làm thế nào để nói

Interfaces Defining an interface be

Interfaces
Defining an interface between a client and a component is like defining a contract between two people. The interface exposes a collection of methods that define what behavior and functionality the component will provide.
In DCOM you don't deal with objects directly. Instead, you deal with interfaces to the objects. A DCOM interface is a collection of methods that define a service contract. Actually, what you get is an interface pointer that points to a vtable (a vtable is a collection of pointers to methods). Java doesn't support interface pointers or any pointers, for that matter. However, Microsoft allows Java developers to access COM objects in a natural way.
The interface defines the behavior of an object independent of any one implementation of an object. DCOM is a binary interoperability agreement for how clients interact with interfaces via pointers and local and remote proxies; proxies act as surrogate objects that are involved in marshaling the parameters to and from the components.
The Microsoft JVM is a precursor to COM+. How DCOM is handled in Java is a precursor to the way DCOM will be handled in other languages with the introduction of COM+. COM+ will make DCOM programming a lot easier. Let's compare getting a pointer to an interface in Java to doing the same thing in C++:
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
Giao diện
xác định một giao diện giữa một khách hàng và một thành phần là như xác định một hợp đồng giữa hai người. Giao diện cho thấy nhiều một tập hợp các phương pháp xác định những gì hành vi và chức năng các thành phần sẽ cung cấp.
Trong DCOM bạn không đối phó với các đối tượng trực tiếp. Thay vào đó, bạn đối phó với các giao diện cho các đối tượng. Một giao diện DCOM là một tập hợp các phương pháp xác định một hợp đồng dịch vụ. Trên thực tế, những gì bạn nhận được là một con trỏ giao diện trỏ đến một vtable (một vtable là một tập hợp các liên kết đến phương pháp). Java không hỗ trợ giao diện con trỏ hoặc bất kỳ con trỏ, cho rằng vấn đề. Tuy nhiên, Microsoft cho phép nhà phát triển Java để truy cập vào COM các đối tượng một cách tự nhiên.
Giao diện xác định hành vi của một đối tượng độc lập của bất kỳ thực hiện một của một đối tượng. DCOM là một thỏa thuận tương thích nhị phân cho cách khách hàng tương tác với các giao diện thông qua con trỏ và proxy địa phương và từ xa; proxy hoạt động như các đối tượng thay thế có liên quan trong marshaling các thông số đến và đi từ các thành phần.
JVM Microsoft là một tiền thân của COM. Làm thế nào DCOM được xử lý trong Java là một tiền thân của cách DCOM sẽ được xử lý trong các ngôn ngữ khác với sự ra đời của COM. COM sẽ làm cho DCOM lập trình dễ dàng hơn nhiều. Hãy so sánh nhận được một con trỏ vào một giao diện Java để làm điều tương tự trong:
đang được dịch, vui lòng đợi..
Kết quả (Việt) 2:[Sao chép]
Sao chép!
Interfaces
Defining an interface between a client and a component is like defining a contract between two people. The interface exposes a collection of methods that define what behavior and functionality the component will provide.
In DCOM you don't deal with objects directly. Instead, you deal with interfaces to the objects. A DCOM interface is a collection of methods that define a service contract. Actually, what you get is an interface pointer that points to a vtable (a vtable is a collection of pointers to methods). Java doesn't support interface pointers or any pointers, for that matter. However, Microsoft allows Java developers to access COM objects in a natural way.
The interface defines the behavior of an object independent of any one implementation of an object. DCOM is a binary interoperability agreement for how clients interact with interfaces via pointers and local and remote proxies; proxies act as surrogate objects that are involved in marshaling the parameters to and from the components.
The Microsoft JVM is a precursor to COM+. How DCOM is handled in Java is a precursor to the way DCOM will be handled in other languages with the introduction of COM+. COM+ will make DCOM programming a lot easier. Let's compare getting a pointer to an interface in Java to doing the same thing in C++:
đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2025 I Love Translation. All reserved.

E-mail: