tigase.muc.repository.inmemory
Class InMemoryMucRepository
java.lang.Object
tigase.muc.repository.inmemory.InMemoryMucRepository
- All Implemented Interfaces:
- IMucRepository
public class InMemoryMucRepository
- extends java.lang.Object
- implements IMucRepository
- Author:
- bmalkow
|
Field Summary |
protected java.util.logging.Logger |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected java.util.logging.Logger log
InMemoryMucRepository
public InMemoryMucRepository(MucConfig mucConfig,
MucDAO dao)
throws RepositoryException
- Throws:
RepositoryException
createNewRoom
public Room createNewRoom(java.lang.String roomId,
java.lang.String senderJid)
throws RepositoryException
- Specified by:
createNewRoom in interface IMucRepository
- Throws:
RepositoryException
getDefaultRoomConfig
public RoomConfig getDefaultRoomConfig()
throws RepositoryException
- Specified by:
getDefaultRoomConfig in interface IMucRepository
- Throws:
RepositoryException
getPublicVisibleRoomsIdList
public java.lang.String[] getPublicVisibleRoomsIdList()
throws RepositoryException
- Specified by:
getPublicVisibleRoomsIdList in interface IMucRepository
- Throws:
RepositoryException
getRoom
public Room getRoom(java.lang.String roomId)
throws RepositoryException
- Specified by:
getRoom in interface IMucRepository
- Throws:
RepositoryException
getRoomName
public java.lang.String getRoomName(java.lang.String jid)
throws RepositoryException
- Specified by:
getRoomName in interface IMucRepository
- Returns:
-
- Throws:
RepositoryException
isRoomIdExists
public boolean isRoomIdExists(java.lang.String newRoomName)
- Specified by:
isRoomIdExists in interface IMucRepository
- Returns:
leaveRoom
public void leaveRoom(Room room)
- Specified by:
leaveRoom in interface IMucRepository
Copyright © 2007-2008 Tigase. All Rights Reserved.