TAILIEUCHUNG - wiley interscience tools and environments for parallel and distributed computing phần 6

Các giao thức tích cực khai thác các mô hình tính thống nhất phát hành bằng cách mô phỏng hành vi của một bộ xử lý với các cửa hàng nonblocking và miễn phí lưu trữ giam người. | EXAMPLES 99 java MAKE -f clean_java MAKE -f clean .SUFFIXES .java .class .idl .module . vbjc . idl2java touch @ default all clean rm -rf Ping rm -f .class .tmp .module IDLS MODULES IDLS .idl .module SRCS CLASSES SRCS .java .class all MODULES CLASSES Step 7 Launch the Application Before running the client programs or server applications you must start the Visibroker Smart Agent 20 on at least one host in your local network. Launch the application as follows Start the Smart Agent Prompt osagent Start the server Prompt vbj PingCorbaServer Run the client Prompt vbj PingCorbaClient DCOM Step 1 Create the .idl file A unique 128-bit identifier for the PingDCOM library This can be generated by using utilities like guidgen provided by Microsoft 100 DISTRIBUTED-OBJECT COMPUTING TOOLS uuid 5f648dc9-00e2-1000-5000-86448cae0000 version helpstring PingDCOM library definition. library PingDCOM import the standard OLE library. This gives access to the standard OLE types importlib Forward declare all types defined in this IDL file interface IPingServerDCOM coclass PingServerDCOM odl uuid 5f651112-00e2-1000-5002-86448cae0000 helpstring Interface for Java class PingServerDCOM dual oleautomation interface IPingServerDCOM IDispatch id 0x1 helpstring Java method public float float HRESULT doReverse in VARIANT p1 out retval VARIANT retVal uuid 5f651112-00e2-1000-5001-86448cae0000 helpstring Java class PingServerDCOM coclass PingServerDCOM interface IPingServerDCOM HRESULT is the accepted form of return parameter for any DCOM method invocation. It defines a set of possible return values based on the success of the remote operation. S_OK E_FAIL E_POINTER and E_UNEXPECTED are some of the common return values. Step 2 Run MIDL on the idl File The file is compiled using Microsoft s MIDL compiler. .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.