From 4a892b98b767f45b15bd1091d0f623313f054cf1 Mon Sep 17 00:00:00 2001 From: josh Date: Tue, 25 Nov 2008 21:37:02 +0000 Subject: [PATCH] fixed PresenceServiceImpl stub git-svn-id: svn://anubis/gvsu@272 45c1a28c-8058-47b2-ae61-ca45b979098e --- cs656/lab4/PresenceServiceImpl.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; }