-
java p2p 很好找到
ackage ex1_tp2 ;
导入 java.rmi.* ;
导入 java.rmi.server.* ;
导入 java.rmi.registry.* ;
公共类 Serveur 扩展 UnicastRemoteObject 实现 ex_ser {
公共 Serveur() 引发 RemoteException {}
公共字符串 reponce (字符串 mot) 引发 RemoteException {
返回"Bonjour tous";
}
公共静态 void main (字符串 [] args) {
请尝试 {
LocateRegistry.createRegistry(1099) ;
System.out.println ("端口 1099年") ;
} catch (RemoteException e1) {
System.err.println ("pas de 端口") ;
System.exit(1) ;
}
请尝试 {
Serveur objet = 新 Serveur() ;
Naming.rebind("mounir",objet) ;
System.out.println ("Serveur prêt") ;
}
catch (异常 e) {
System.err.println ("最好派个:"+ e.getMessage()) ;
}
}
}
- 2022-10-20 00:50:04下载
- 积分:1
-
将一个任何类型的文件(图,文本,exe)以二进制方式读出来显示...
将一个任何类型的文件(图,文本,exe)以二进制方式读出来显示-Will be a any type of files (maps, text, exe) in binary mode read out display
- 2022-04-25 15:05:01下载
- 积分:1
-
比较SELECTIONSORT、INSERTIONSORT、BOTTOMUPSORT、MERGESORT、QUICKSORT五种排序算法的平均比较次数。...
比较SELECTIONSORT、INSERTIONSORT、BOTTOMUPSORT、MERGESORT、QUICKSORT五种排序算法的平均比较次数。-Comparing SELECTIONSORT, INSERTIONSORT, BOTTOMUPSORT, MERGESORT, QUICKSORT five kinds of sorting algorithms compare the average number of times.
- 2022-01-26 02:10:20下载
- 积分:1
-
gcc使用的win32库和头文件
gcc使用的win32库和头文件-gcc use win32 storehouse and document
- 2022-01-25 14:15:56下载
- 积分:1
-
根据所接收的值,程序可以在1到100之间接收一个整数…
程序能够接收1~100之间的整数,根据接收的数值,计算其Fibonacci数,在屏幕上输出其值。Fibonacci数列的定义如下:
Fib(1)=1
Fib(2)=1
Fib(n)=fib(n-2)+fib(n-1)
-Program can receive an integer between 1 to 100, according to the received value, to calculate the Fibonacci number, the screen output of its value. Fibonacci sequence is defined as follows: Fib (1) = 1 Fib (2) = 1 Fib (n) = fib (n-2)+ fib (n-1)
- 2023-05-17 04:15:03下载
- 积分:1
-
C++异常中的堆栈跟踪
C++异常中的堆栈跟踪-C stack of abnormal tracking
- 2022-06-28 18:52:54下载
- 积分:1
-
扩展的编程实例,比较多的程序
vc++ 的扩展编程的一些实例,比较多的程序-vc expansion of the programming examples, more procedures
- 2022-01-31 12:40:27下载
- 积分:1
-
实现的一天
实现日常的日历功能,可以方便你查询日期!也可以修改后作为万能日历!-Realize day-to-day calendar function, you can easily query the date! Can also be modified as a universal calendar!
- 2022-03-06 05:29:43下载
- 积分:1
-
with vb prepared by the compiler to achieve identified the poor state of automat...
用vb编写的编译器 用以实现确定有穷自动机中状态对的转换-with vb prepared by the compiler to achieve identified the poor state of automatic machines for the conversion
- 2022-02-05 08:43:41下载
- 积分:1
-
这是一个交通流量模拟程序,模拟包括2大类,4小类流动节点的位置时间特性。...
这是一个交通流量模拟程序,模拟包括2大类,4小类流动节点的位置时间特性。-This is a traffic simulation, simulation, including two categories, four categories of mobile nodes time characteristics of the location.
- 2022-01-25 17:56:34下载
- 积分:1