cours0708/A61/MessageImpl.java

14 lines
334 B
Java

import java.rmi.server.UnicastRemoteObject ;
import java.rmi.RemoteException ;
public class MessageImpl
extends UnicastRemoteObject
implements Message {
public MessageImpl () throws RemoteException {super();};
public String messageDistant()
throws RemoteException {
return( "Ici notre message." );
}
}