// Author: Josh Holtrop // Date: 2008-10-30 // CS656 // Lab Excersize 3 /** * This class implements the PresenceService interface using Chord. * It provides a presence service for the chat system. */ public class PresenceServiceImpl implements PresenceService { ChordClient myChordClient; public PresenceServiceImpl(ChordClient chordClient) { myChordClient = chordClient; } /* a user calls this method to register with the presence service */ public void register(RegistrationInfo reg) { } /* a user calls this method to unregister with the presence service */ public void unregister(String userName) { } /* a user calls this method to get the registration information * for another user by name */ public RegistrationInfo lookup(String name) { return null; } /* called when a user wishes to leave the network */ public void leave() { } }