VẤN ĐỀ THAM TRỊ VÀ THAM BIẾN TRONG KỸ THUẬT LẬP TRÌNH PHÂN TÁN ĐỐI
208
lượt xem 19
download
lượt xem 19
download
Download
Vui lòng tải xuống để xem tài liệu đầy đủ
Kế thừa từ lớp Remote: đối tượng được tham khảo theo tham biến (GET OBJECT BY REFERENCE) Ví dụ: RemoteClass: (interface & implement): đối tượng được gọi từ xa MyRemoteClass.java import java.rmi.*; public interface MyRemoteClass extends Remote{ public int getMyAttribute() throws RemoteException; public void setMyAttribute(int value) throws RemoteException; }
Chủ đề:
Bình luận(0) Đăng nhập để gửi bình luận!
CÓ THỂ BẠN MUỐN DOWNLOAD