FileDocCategorySizeDatePackage
ChatService.javaAPI DocApache Struts 2.0.9 Apps1456Mon Jul 23 13:43:26 BST 2007org.apache.struts2.showcase.chat

ChatService

public interface ChatService

Fields Summary
Constructors Summary
Methods Summary
public voidaddRoom(Room room)

public voidenterRoom(User user, java.lang.String roomName)

public voidexitRoom(java.lang.String userName, java.lang.String roomName)

public java.util.ListgetAvailableRooms()

public java.util.ListgetAvailableUsers()

public java.util.ListgetMessagesInRoom(java.lang.String roomName)

public java.util.ListgetUsersAvailableInRoom(java.lang.String roomName)

public voidlogin(User user)

public voidlogout(java.lang.String name)

public voidsendMessageToRoom(java.lang.String roomName, User user, java.lang.String message)