Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openjdk-multiarch-jdk8u
Path: blob/aarch64-shenandoah-jdk8u272-b10/jdk/test/javax/rmi/PortableRemoteObject/HelloInterface.java
38839 views
1
import java.net.InetAddress;
2
import java.rmi.Remote;
3
import java.util.HashMap;
4
import java.util.concurrent.ConcurrentHashMap;
5
import java.util.concurrent.locks.ReentrantLock;
6
7
public interface HelloInterface extends Remote {
8
public String sayHello( String from ) throws java.rmi.RemoteException;
9
public String sayHelloToTest( Test test ) throws java.rmi.RemoteException;
10
public String sayHelloWithInetAddress( InetAddress ipAddr ) throws java.rmi.RemoteException;
11
public String sayHelloWithHashMap(ConcurrentHashMap<String, String> hashMap ) throws java.rmi.RemoteException;
12
public String sayHelloWithHashMap2(HashMap<String, String> hashMap ) throws java.rmi.RemoteException;
13
public String sayHelloWithReentrantLock(ReentrantLock lock ) throws java.rmi.RemoteException;
14
}
15
16