Created
February 12, 2018 08:40
-
-
Save korkmazkadir/ce3ff35298dcda13e56460087eb79aec to your computer and use it in GitHub Desktop.
Chat Client Interface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package simplechat.common; | |
import java.rmi.Remote; | |
import java.rmi.RemoteException; | |
/** | |
* | |
* @author Kadir Korkmaz | |
*/ | |
public interface ChatClient extends Remote { | |
public String getName() throws RemoteException; | |
public void notifyLogin(String username) throws RemoteException; | |
public void notifyLogout(String username) throws RemoteException; | |
public void notifyMessage(String fromUsername, String message) throws RemoteException; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment