Marshaling When a client makes a method call on a COM interface, the C dịch - Marshaling When a client makes a method call on a COM interface, the C Việt làm thế nào để nói

Marshaling When a client makes a me

Marshaling
When a client makes a method call on a COM interface, the COM objects in the other process can be down the hall or on the other side of the globe. The differences between local and remote access are abstracted from the COM clients. Marshaling involves taking an interface pointer in a server's process, making that interface pointer available to the client process and setting up interprocess communication (either RPC or LPC). Next, marshaling must take the arguments to an interface method call as passed from the client and serialize those arguments to the remote object's process.
Custom marshaling is fundamental for certain applications. COM offers standard marshaling for the built-in standard COM interfaces. With standard marshaling COM furnishes a generic proxy and stub that communicate through standard RPC for each standard COM interface. Custom marshaling is not a trivial matter with Java and DCOM.
By default, all objects are passed by reference, which means that when the client calls a method of a remote interface, the call is marshaled over the wire. If you want your objects to be passed by value, you need to do custom marshaling.
You probably won't ever need to write your own custom marshaler because DCOM/Java integration centers around IDispatch. IDispatch is a built-in interface, and COM provides a marshaler for it. In addition, Microsoft provides a special optimized marshaler for Java COM objects.
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
Marshaling
khi một khách hàng làm cho một phương pháp gọi vào một giao diện COM, các đối tượng COM trong quá trình khác có thể xuống hội trường hoặc phía bên kia của địa cầu. Sự khác biệt giữa các địa phương và từ xa truy cập được abstracted từ khách hàng COM. Marshaling liên quan đến việc tham gia một con trỏ giao diện trong quá trình một server, làm đó con trỏ giao diện có sẵn cho các khách hàng quá trình và thiết lập liên lạc interprocess (RPC hoặc LPC). Tiếp theo, marshaling phải mất các đối số nghe một cuộc gọi phương pháp giao diện như được thông qua từ khách hàng và serialize các đối số của đối tượng từ xa quá trình.
Tùy chỉnh marshaling là cơ bản cho các ứng dụng nhất định. COM cung cấp marshaling tiêu chuẩn cho các giao diện COM được xây dựng trong tiêu chuẩn. Với tiêu chuẩn tàn COM furnishes chung proxy và ngẫu nhiên giao tiếp thông qua tiêu chuẩn RPC cho mỗi giao diện COM tiêu chuẩn. Tùy chỉnh marshaling không phải là một vấn đề nhỏ với Java và DCOM.
Theo mặc định, tất cả các đối tượng được thông qua tham khảo, có nghĩa là khi khách hàng gọi cho một phương pháp của một giao diện từ xa, cuộc gọi marshaled trên dây. Nếu bạn muốn các đối tượng của bạn được phê chuẩn bởi giá trị, bạn cần phải làm tùy chỉnh marshaling.
Bạn có lẽ sẽ không bao giờ cần phải viết riêng của bạn tùy chỉnh marshaler bởi vì DCOM/Java hội nhập xoay quanh IDispatch. IDispatch là một giao diện được xây dựng trong, và COM cung cấp một marshaler cho nó. Ngoài ra, Microsoft cung cấp một marshaler tối ưu hóa đặc biệt cho các đối tượng Java COM.
đang được dịch, vui lòng đợi..
Kết quả (Việt) 2:[Sao chép]
Sao chép!
Marshaling
When a client makes a method call on a COM interface, the COM objects in the other process can be down the hall or on the other side of the globe. The differences between local and remote access are abstracted from the COM clients. Marshaling involves taking an interface pointer in a server's process, making that interface pointer available to the client process and setting up interprocess communication (either RPC or LPC). Next, marshaling must take the arguments to an interface method call as passed from the client and serialize those arguments to the remote object's process.
Custom marshaling is fundamental for certain applications. COM offers standard marshaling for the built-in standard COM interfaces. With standard marshaling COM furnishes a generic proxy and stub that communicate through standard RPC for each standard COM interface. Custom marshaling is not a trivial matter with Java and DCOM.
By default, all objects are passed by reference, which means that when the client calls a method of a remote interface, the call is marshaled over the wire. If you want your objects to be passed by value, you need to do custom marshaling.
You probably won't ever need to write your own custom marshaler because DCOM/Java integration centers around IDispatch. IDispatch is a built-in interface, and COM provides a marshaler for it. In addition, Microsoft provides a special optimized marshaler for Java COM objects.
đ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: