Package-level declarations

Types

Link copied to clipboard
data class AllowedUserAddedEvent(val sessionId: String, val username: String) : SessionEvent

Allowed user added event.

Link copied to clipboard
data class AllowedUserRemovedEvent(val sessionId: String, val user: String) : SessionEvent

Allowed user removed event.

Link copied to clipboard
data class ChannelCreatedEvent(val serverId: String, val channelId: String) : ChannelEvent

Channel created event.

Link copied to clipboard
data class ChannelDeletedEvent(val serverId: String, val channelId: String) : ChannelEvent

Channel deleted event.

Link copied to clipboard
sealed interface ChannelEvent : DomainEvent
Link copied to clipboard
data class ChannelUpdatedEvent(val serverId: String, val channelId: String) : ChannelEvent

Channel updated event.

Link copied to clipboard
sealed interface FriendshipEvent : DomainEvent
Link copied to clipboard
data class FriendshipRequestAcceptedEvent(val fromUser: String, val toUser: String) : FriendshipEvent

Friendship request accepted event.

Link copied to clipboard
data class FriendshipRequestRejectedEvent(val fromUser: String, val toUser: String) : FriendshipEvent

Friendship request rejected event.

Link copied to clipboard
data class FriendshipRequestSentEvent(val fromUser: String, val toUser: String) : FriendshipEvent

Friendship request sent event.

Link copied to clipboard
data class MessageInChannelEvent(val serverId: String, val channelId: String, val messageId: String, val sender: String, val content: String) : ChannelEvent

Message in channel event.

Link copied to clipboard
data class NewMessageInFriendshipEvent(val fromUser: String, val toUser: String, val messageId: String, val content: String) : FriendshipEvent

New message in friendship event.

Link copied to clipboard
data class ParticipantJoinedEvent(val sessionId: String, val user: String) : SessionEvent

Participant joined event.

Link copied to clipboard
data class ParticipantLeftEvent(val sessionId: String, val user: String) : SessionEvent

Participant left event.

Link copied to clipboard
data class ServerCreatedEvent(val serverId: String, val owner: String) : ServerEvent

Server created event.

Link copied to clipboard
data class ServerDeletedEvent(val serverId: String) : ServerEvent

Server deleted event.

Link copied to clipboard
sealed interface ServerEvent : DomainEvent
Link copied to clipboard
data class ServerUpdatedEvent(val serverId: String) : ServerEvent

Server updated event.

Link copied to clipboard
data class ServerUserAddedEvent(val serverId: String, val username: String) : ServerEvent

Server user added event.

Link copied to clipboard
data class ServerUserKickedEvent(val serverId: String, val username: String) : ServerEvent

Server user kicked event.

Link copied to clipboard
data class ServerUserRemovedEvent(val serverId: String, val username: String) : ServerEvent

Server user removed event.

Link copied to clipboard
data class SessionCreatedEvent(val sessionId: String, val allowedUsers: Set<String>) : SessionEvent

Session created event.

Link copied to clipboard
data class SessionDeletedEvent(val sessionId: String) : SessionEvent

Session deleted event.

Link copied to clipboard
sealed interface SessionEvent : DomainEvent
Link copied to clipboard
data class UserCreatedEvent(val username: String, val email: String? = null, val description: String? = null, val profilePicture: String? = null) : UserEvent

User created event.

Link copied to clipboard
sealed interface UserEvent : DomainEvent

User domain event.

Link copied to clipboard
Link copied to clipboard
data class UserLoggedInEvent(val username: String) : UserEvent

User logged in event.

Link copied to clipboard
data class UserLoggedOutEvent(val username: String) : UserEvent

User logged out event.

Link copied to clipboard
data class UserOfflineEvent(val username: String) : UserEvent

User offline event.

Link copied to clipboard
data class UserOnlineEvent(val username: String) : UserEvent

User online event.

Link copied to clipboard
data class UserUpdatedEvent(val username: String, val email: String? = null, val description: String? = null, val profilePicture: String? = null) : UserEvent

User updated event.