Commit 06125aca authored by tammam.alsoleman's avatar tammam.alsoleman

Implement the ClientCallback

parent e084e5f7
package org.example.client;
import org.example.shared.IClientCallback;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
public class ClientCallbackImpl extends UnicastRemoteObject implements IClientCallback {
public ClientCallbackImpl() throws RemoteException {
super();
}
@Override
public void onLeaderboardUpdate(String message) throws RemoteException {
System.out.println("\n================================");
System.out.println("- Notification from Server:");
System.out.println(message);
System.out.println("================================");
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment