Package org.apache.struts2.showcase.chat
Class ChatServiceImpl
java.lang.Object
org.apache.struts2.showcase.chat.ChatServiceImpl
- All Implemented Interfaces:
ChatService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidgetMessagesInRoom(String roomName) getUsersAvailableInRoom(String roomName) voidvoidvoidsendMessageToRoom(String roomName, User user, String message)
-
Constructor Details
-
ChatServiceImpl
public ChatServiceImpl()
-
-
Method Details
-
getAvailableUsers
- Specified by:
getAvailableUsersin interfaceChatService
-
getAvailableRooms
- Specified by:
getAvailableRoomsin interfaceChatService
-
addRoom
- Specified by:
addRoomin interfaceChatService
-
login
- Specified by:
loginin interfaceChatService
-
logout
- Specified by:
logoutin interfaceChatService
-
exitRoom
- Specified by:
exitRoomin interfaceChatService
-
enterRoom
- Specified by:
enterRoomin interfaceChatService
-
getMessagesInRoom
- Specified by:
getMessagesInRoomin interfaceChatService
-
sendMessageToRoom
- Specified by:
sendMessageToRoomin interfaceChatService
-
getUsersAvailableInRoom
- Specified by:
getUsersAvailableInRoomin interfaceChatService
-