Samples JDK
Main Page
Related Pages
Packages
Classes
Files
File List
src
com
freemindcafe
rmi
sample2
server
Addition.java
1
package
com.freemindcafe.rmi.sample2.server;
2
3
import
java.rmi.RemoteException;
4
import
java.rmi.server.UnicastRemoteObject;
5
6
public
class
Addition
extends
UnicastRemoteObject implements
IAddition
{
7
8
public
Addition
()
throws
RemoteException { }
9
10
public
int
add(
int
a,
int
b)
throws
RemoteException {
11
int
result=a+b;
12
return
result;
13
}
14
15
}
com.freemindcafe.rmi.sample2.server.IAddition
Definition:
IAddition.java:5
com.freemindcafe.rmi.sample2.server.Addition
Definition:
Addition.java:6
Generated on Fri Feb 19 2016 08:35:43 for Samples JDK by
1.8.9.1