ChannelService
open class ChannelService(serverRepository: ServerRepository, eventPublisher: ChannelEventPublisher) : ChannelServiceApi
Inheritors
Functions
Link copied to clipboard
open override fun addMessageInChannel(request: ChannelCommand.AddMessageInChannel.Request): Result<ChannelCommand.AddMessageInChannel.Response>
Link copied to clipboard
open override fun createNewChannelInServer(request: ChannelCommand.CreateNewChannelInServer.Request): Result<ChannelCommand.CreateNewChannelInServer.Response>
Link copied to clipboard
open override fun deleteChannelInServer(request: ChannelCommand.DeleteChannelInServer.Request): Result<ChannelCommand.DeleteChannelInServer.Response>
Link copied to clipboard
open override fun getChannelsByServerId(request: ChannelQuery.GetChannelByServerId.Request): Result<ChannelQuery.GetChannelByServerId.Response>
Link copied to clipboard
open override fun getMessagesFromChannelId(request: ChannelQuery.GetMessagesFromChannelId.Request): Result<ChannelQuery.GetMessagesFromChannelId.Response>
Link copied to clipboard
open override fun updateChannelInServer(request: ChannelCommand.UpdateChannelInServer.Request): Result<ChannelCommand.UpdateChannelInServer.Response>