stanford.facepamphlet
Class FPRepositoryStub

Object
  extended by stanford.facepamphlet.FPRepository
      extended by stanford.facepamphlet.FPRepositoryStub

public class FPRepositoryStub
extends FPRepository

This class exports a version of the FPRepository that simulates all operations locally without actually connecting to the network.


Constructor Summary
FPRepositoryStub(String id, String name)
          Constructs a new stub repository for the specified user, with the specified values for id and name.
 
Method Summary
 
Methods inherited from class stanford.facepamphlet.FPRepository
acceptFriend, closeConnection, convertGImageToString, convertStringToGImage, getAllUsers, getCurrentUserId, getFriendRequests, getLastServerMessage, getMyFriends, getProperty, isMyFriend, rejectFriend, requestFriend, sendMessage, setProperty
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FPRepositoryStub

public FPRepositoryStub(String id,
                        String name)
Constructs a new stub repository for the specified user, with the specified values for id and name.

Parameters:
id - The id of the simulated user
name - The full name that goes along with that id