diff --git a/cs656/lab4/PresenceServiceImpl.java b/cs656/lab4/PresenceServiceImpl.java index 414a272..e6b0c87 100644 --- a/cs656/lab4/PresenceServiceImpl.java +++ b/cs656/lab4/PresenceServiceImpl.java @@ -21,7 +21,7 @@ public class PresenceServiceImpl implements PresenceService * Register a client with the presence service. * @param reg The information that is to be registered about a client. */ - void register(RegistrationInfo reg) throws Exception + public void register(RegistrationInfo reg) throws Exception { } @@ -30,7 +30,7 @@ public class PresenceServiceImpl implements PresenceService * method when it terminates execution. * @param userName The name of the user to be unregistered. */ - void unregister(String userName) throws Exception + public void unregister(String userName) throws Exception { } @@ -40,7 +40,7 @@ public class PresenceServiceImpl implements PresenceService * @return The RegistrationInfo info for the client, or null if * no such client was found. */ - RegistrationInfo lookup(String name) throws Exception + public RegistrationInfo lookup(String name) throws Exception { return null; } @@ -50,7 +50,7 @@ public class PresenceServiceImpl implements PresenceService * @param name The name of the user whose status is to be set. * @param status true if user is available, false otherwise. */ - void setStatus(String userName, boolean status) throws Exception + public void setStatus(String userName, boolean status) throws Exception { } @@ -59,7 +59,7 @@ public class PresenceServiceImpl implements PresenceService * @return An array of RegistrationInfo objects - one for each client * present in the system. */ - RegistrationInfo[] listRegisteredUsers() throws Exception + public RegistrationInfo[] listRegisteredUsers() throws Exception { return null; }