Mercury-IM/entity/src/main/java/org/mercury_im/messenger/entity/chat/GroupChat.java

26 lines
516 B
Java
Raw Normal View History

2019-11-18 23:51:27 +01:00
package org.mercury_im.messenger.entity.chat;
2019-11-08 00:47:17 +01:00
2019-11-18 23:51:27 +01:00
import org.mercury_im.messenger.entity.contact.Peer;
2019-11-08 00:47:17 +01:00
import java.util.Set;
2019-12-06 20:48:27 +01:00
/**
* An interface that describes a group chat entity.
*
* An implementation can be found as {@link IGroupChat}.
*/
public interface GroupChat extends Chat {
2019-11-08 00:47:17 +01:00
Set<Peer> getParticipants();
2019-11-08 00:47:17 +01:00
void setParticipants(Set<Peer> participants);
2019-11-08 00:47:17 +01:00
String getRoomAddress();
2019-11-08 00:47:17 +01:00
void setRoomAddress(String roomAddress);
2019-11-08 00:47:17 +01:00
String getRoomName();
void setRoomName(String roomName);
}