|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--au.edu.swin.synergy.plugin.rooms.BRoom
Constructor Summary | |
BRoom()
Default constructor. |
Method Summary | |
void |
addDoor(String door)
Add a door to another room. |
void |
addFile(String fileName)
Add file to room. |
void |
addUser(BChatUser user)
Add a user to this room. |
void |
editUser(BChatUser oldUser,
BChatUser newUser)
Edit user residing in room. |
BStringList |
getDoors()
Get ajoining rooms. |
BStringList |
getFiles()
Get files which are contained in this room. |
String |
getName()
Get the name of the room. |
Vector |
getUsers()
Get users currently chatting in this room. |
void |
removeUser(int connectionId)
Remove user from list of users. |
void |
setName(String fName)
Set the name of this room. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public BRoom()
Method Detail |
public String getName()
public void setName(String fName)
fName
- String to name room.public BStringList getDoors()
public BStringList getFiles()
public Vector getUsers()
public void addDoor(String door)
door
- Additional door to add.public void addUser(BChatUser user)
user
- New user to join chat.public void removeUser(int connectionId)
connectionId
- Id for user wishing to leave.public void addFile(String fileName)
fileName
- File for room to own.public void editUser(BChatUser oldUser, BChatUser newUser)
oldUser
- Old details of user.newUser
- New details of user.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |