File
Doc
Category
Size
Date
Package
ChatService.java
API Doc
Apache Struts 2.0.9 Apps
1456
Mon Jul 23 13:43:26 BST 2007
org.apache.struts2.showcase.chat
ChatService
public interface ChatService
Fields Summary
Constructors Summary
Methods Summary
public void
addRoom
(
Room
room)
public void
enterRoom
(
User
user,
java.lang.String
roomName)
public void
exitRoom
(
java.lang.String
userName,
java.lang.String
roomName)
public
java.util.List
getAvailableRooms
()
public
java.util.List
getAvailableUsers
()
public
java.util.List
getMessagesInRoom
(
java.lang.String
roomName)
public
java.util.List
getUsersAvailableInRoom
(
java.lang.String
roomName)
public void
login
(
User
user)
public void
logout
(
java.lang.String
name)
public void
sendMessageToRoom
(
java.lang.String
roomName,
User
user,
java.lang.String
message)
Java Code Source