|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object stanford.facepamphlet.FPRepository stanford.facepamphlet.FPRepositoryStub
public class FPRepositoryStub
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 |
---|
public FPRepositoryStub(String id, String name)
id
- The id of the simulated username
- The full name that goes along with that id
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |