public MessagesUpdatedNodeNoticeHandler(NodeNotice notice,
                                         NodeConnection nodeConnection,
                                         IConversationsNoticeService conversationsNoticeService,
                                         IUpdateMessagesService updateMessagesService,
                                         IAttachmentsService attachmentsService)
 {
     this.notice                     = (MessagesUpdatedNodeNotice)notice;
     this.nodeConnection             = nodeConnection;
     this.conversationsNoticeService = conversationsNoticeService;
     this.updateMessagesService      = updateMessagesService;
     this.attachmentsService         = attachmentsService;
 }
Exemple #2
0
 public NewChatRequestHandler(
     Request request,
     ClientConnection current,
     INodeNoticeService nodeNoticeService,
     IConversationsNoticeService conversationsNoticeService,
     ICreateChatsService createChatsService)
 {
     this.request                    = (NewChatsRequest)request;
     this.clientConnection           = current;
     this.nodeNoticeService          = nodeNoticeService;
     this.conversationsNoticeService = conversationsNoticeService;
     this.createChatsService         = createChatsService;
 }
 public NewChatsNoticeHandler(
     CommunicationObject @object,
     NodeConnection nodeConnection,
     INodeNoticeService nodeNoticeService,
     IConversationsNoticeService conversationsNoticeService,
     ICrossNodeService crossNodeService)
 {
     notice = (CreateOrEditChatsNodeNotice)@object;
     this.nodeConnection             = nodeConnection;
     this.nodeNoticeService          = nodeNoticeService;
     this.conversationsNoticeService = conversationsNoticeService;
     this.crossNodeService           = crossNodeService;
 }
Exemple #4
0
 public MessagesReadRequestHandler(
     Request request,
     ClientConnection clientConnection,
     INodeNoticeService nodeNoticeService,
     IConversationsNoticeService conversationsNoticeService,
     IUpdateMessagesService updateMessagesService,
     ILoadDialogsService loadDialogsService)
 {
     this.request                    = (MessagesReadRequest)request;
     this.clientConnection           = clientConnection;
     this.nodeNoticeService          = nodeNoticeService;
     this.conversationsNoticeService = conversationsNoticeService;
     this.updateMessagesService      = updateMessagesService;
     this.loadDialogsService         = loadDialogsService;
 }
Exemple #5
0
 public EditMessageRequestHandler(
     Request request,
     ClientConnection clientConnection,
     INodeNoticeService nodeNoticeService,
     IConversationsNoticeService conversationsNoticeService,
     IUpdateMessagesService updateMessagesService,
     IAttachmentsService attachmentsService)
 {
     this.request                    = (EditMessageRequest)request;
     this.clientConnection           = clientConnection;
     this.nodeNoticeService          = nodeNoticeService;
     this.conversationsNoticeService = conversationsNoticeService;
     this.updateMessagesService      = updateMessagesService;
     this.attachmentsService         = attachmentsService;
 }
 public ChannelNodeNoticeHandler(
     NodeNotice notice,
     NodeConnection current,
     IConversationsNoticeService conversationsNoticeService,
     ICreateChannelsService createChannelsService,
     ILoadChannelsService loadChannelsService,
     ISystemMessagesService systemMessagesService)
 {
     this.notice  = (ChannelNodeNotice)notice;
     this.current = current;
     this.conversationsNoticeService = conversationsNoticeService;
     this.createChannelsService      = createChannelsService;
     this.loadChannelsService        = loadChannelsService;
     this.systemMessagesService      = systemMessagesService;
 }
Exemple #7
0
 public MessagesDeletedNoticeHandler(
     NodeNotice notice,
     IConversationsNoticeService conversationsNoticeService,
     IDeleteMessagesService deleteMessagesService,
     ILoadChatsService loadChatsService,
     ILoadDialogsService loadDialogsService,
     ILoadChannelsService loadChannelsService)
 {
     this.notice = (MessagesDeletedNodeNotice)notice;
     this.conversationsNoticeService = conversationsNoticeService;
     this.deleteMessagesService      = deleteMessagesService;
     this.loadChatsService           = loadChatsService;
     this.loadDialogsService         = loadDialogsService;
     this.loadChannelsService        = loadChannelsService;
 }
Exemple #8
0
 public ConversationActionNodeNoticeHandler(
     NodeNotice notice,
     NodeConnection nodeConnection,
     IConversationsService conversationsService,
     IConversationsNoticeService conversationsNoticeService,
     ILoadDialogsService loadDialogsService,
     ISystemMessagesService systemMessagesService)
 {
     this.notice                     = (ConversationActionNodeNotice)notice;
     this.nodeConnection             = nodeConnection;
     this.conversationsService       = conversationsService;
     this.conversationsNoticeService = conversationsNoticeService;
     this.loadDialogsService         = loadDialogsService;
     this.systemMessagesService      = systemMessagesService;
 }
Exemple #9
0
 public CreateChannelRequestHandler(
     Request request,
     ClientConnection clientConnection,
     INodeNoticeService nodeNoticeService,
     IConversationsNoticeService conversationsNoticeService,
     ILoadChannelsService loadChannelsService,
     ICreateChannelsService createChannelsService)
 {
     this.request                    = (CreateChannelRequest)request;
     this.clientConnection           = clientConnection;
     this.nodeNoticeService          = nodeNoticeService;
     this.conversationsNoticeService = conversationsNoticeService;
     this.loadChannelsService        = loadChannelsService;
     this.createChannelsService      = createChannelsService;
 }
 public AddUsersChatNoticeHandler(NodeNotice notice,
                                  NodeConnection node,
                                  IConversationsNoticeService conversationsNoticeService,
                                  IUpdateChatsService updateChatsService,
                                  INodeRequestSender nodeRequestSender,
                                  ICrossNodeService crossNodeService,
                                  ISystemMessagesService systemMessagesService)
 {
     this.notice = (AddUsersChatNodeNotice)notice;
     this.node   = node;
     this.conversationsNoticeService = conversationsNoticeService;
     this.updateChatsService         = updateChatsService;
     this.nodeRequestSender          = nodeRequestSender;
     this.crossNodeService           = crossNodeService;
     this.systemMessagesService      = systemMessagesService;
 }
Exemple #11
0
 public MessagesReadNoticeHandler(NodeNotice notice,
                                  NodeConnection current,
                                  IConversationsNoticeService conversationsNoticeService,
                                  IUpdateMessagesService updateMessagesService,
                                  IUpdateChatsService updateChatsService,
                                  ILoadDialogsService loadDialogsService,
                                  IUpdateChannelsService updateChannelsService)
 {
     this.notice  = (MessagesReadNodeNotice)notice;
     this.current = current;
     this.conversationsNoticeService = conversationsNoticeService;
     this.updateMessagesService      = updateMessagesService;
     this.updateChatsService         = updateChatsService;
     this.loadDialogsService         = loadDialogsService;
     this.updateChannelsService      = updateChannelsService;
 }
 public EditChannelRequestHandler(
     Request request,
     ClientConnection clientConnection,
     INodeNoticeService nodeNoticeService,
     IConversationsNoticeService conversationsNoticeService,
     ILoadChannelsService loadChannelsService,
     IUpdateChannelsService updateChannelsService,
     ISystemMessagesService systemMessagesService)
 {
     this.request                    = (EditChannelRequest)request;
     this.clientConnection           = clientConnection;
     this.nodeNoticeService          = nodeNoticeService;
     this.conversationsNoticeService = conversationsNoticeService;
     this.loadChannelsService        = loadChannelsService;
     this.updateChannelsService      = updateChannelsService;
     this.systemMessagesService      = systemMessagesService;
 }
 public EditChatsNoticeHandler(
     CommunicationObject @object,
     NodeConnection nodeConnection,
     INodeNoticeService nodeNoticeService,
     IConversationsNoticeService conversationsNoticeService,
     ILoadChatsService loadChatsService,
     ICrossNodeService crossNodeService,
     ISystemMessagesService systemMessagesService)
 {
     notice = (CreateOrEditChatsNodeNotice)@object;
     this.nodeConnection             = nodeConnection;
     this.nodeNoticeService          = nodeNoticeService;
     this.conversationsNoticeService = conversationsNoticeService;
     this.loadChatsService           = loadChatsService;
     this.crossNodeService           = crossNodeService;
     this.systemMessagesService      = systemMessagesService;
 }
Exemple #14
0
 public ConversationActionRequestHandler(
     Request request,
     ClientConnection clientConnection,
     IConversationsService conversationsService,
     IConversationsNoticeService conversationsNoticeService,
     INodeNoticeService nodeNoticeService,
     ILoadDialogsService loadDialogsService,
     ISystemMessagesService systemMessagesService)
 {
     this.request                    = (ConversationActionRequest)request;
     this.clientConnection           = clientConnection;
     this.conversationsService       = conversationsService;
     this.conversationsNoticeService = conversationsNoticeService;
     this.nodeNoticeService          = nodeNoticeService;
     this.loadDialogsService         = loadDialogsService;
     this.systemMessagesService      = systemMessagesService;
 }
Exemple #15
0
 public SendMessagesRequestHandler(
     Request request,
     ClientConnection current,
     INodeNoticeService nodeNoticeService,
     IConversationsNoticeService conversationsNoticeService,
     IAttachmentsService attachmentsService,
     ICreateMessagesService createMessagesService,
     ILoadDialogsService loadDialogsService)
 {
     this.request                    = (SendMessagesRequest)request;
     userId                          = current.UserId ?? 0;
     this.current                    = current;
     this.nodeNoticeService          = nodeNoticeService;
     this.conversationsNoticeService = conversationsNoticeService;
     this.attachmentsService         = attachmentsService;
     this.createMessagesService      = createMessagesService;
     this.loadDialogsService         = loadDialogsService;
 }
 public AddUsersToChannelsRequestHandler(
     Request request,
     ClientConnection clientConnection,
     INodeNoticeService nodeNoticeService,
     IConversationsNoticeService conversationsNoticeService,
     IUpdateChannelsService updateChannelsService,
     ILoadChannelsService loadChannelsService,
     IConnectionsService connectionsService,
     INodeRequestSender nodeRequestSender)
 {
     this.request                    = (AddUsersToChannelsRequest)request;
     this.clientConnection           = clientConnection;
     this.nodeNoticeService          = nodeNoticeService;
     this.conversationsNoticeService = conversationsNoticeService;
     this.updateChannelsService      = updateChannelsService;
     this.loadChannelsService        = loadChannelsService;
     this.connectionsService         = connectionsService;
     this.nodeRequestSender          = nodeRequestSender;
 }
Exemple #17
0
 public NewMessagesNoticeHandler(CommunicationObject @object,
                                 NodeConnection current,
                                 IConversationsNoticeService conversationsNoticeService,
                                 IAttachmentsService attachmentsService,
                                 ICreateMessagesService createMessagesService,
                                 ICreateChannelsService createChannelsService,
                                 INodeRequestSender nodeRequestSender,
                                 ICrossNodeService crossNodeService,
                                 ILoadDialogsService loadDialogsService)
 {
     notice       = (NewMessagesNodeNotice)@object;
     this.current = current;
     this.conversationsNoticeService = conversationsNoticeService;
     this.attachmentsService         = attachmentsService;
     this.createMessagesService      = createMessagesService;
     this.createChannelsService      = createChannelsService;
     this.nodeRequestSender          = nodeRequestSender;
     this.crossNodeService           = crossNodeService;
     this.loadDialogsService         = loadDialogsService;
 }
 public AddUserChatsRequestHandler(
     Request request,
     ClientConnection clientConnection,
     INodeNoticeService nodeNoticeService,
     IConversationsNoticeService conversationsNoticeService,
     IUpdateChatsService updateChatsService,
     ILoadChatsService loadChatsService,
     INodeRequestSender nodeRequestSender,
     IConnectionsService connectionsService,
     ISystemMessagesService systemMessagesService)
 {
     this.request                    = (AddUsersChatsRequest)request;
     this.clientConnection           = clientConnection;
     this.nodeNoticeService          = nodeNoticeService;
     this.conversationsNoticeService = conversationsNoticeService;
     this.updateChatsService         = updateChatsService;
     this.loadChatsService           = loadChatsService;
     this.nodeRequestSender          = nodeRequestSender;
     this.connectionsService         = connectionsService;
     this.systemMessagesService      = systemMessagesService;
 }
Exemple #19
0
 public DeleteMessagesRequestHandler(
     Request request,
     ClientConnection clientConnection,
     INodeNoticeService nodeNoticeService,
     IConversationsNoticeService conversationsNoticeService,
     IDeleteMessagesService deleteMessagesService,
     ILoadChatsService loadChatsService,
     IPendingMessagesService pendingMessagesService,
     ILoadChannelsService loadChannelsService,
     ILoadDialogsService loadDialogsService)
 {
     this.request                    = (DeleteMessagesRequest)request;
     this.clientConnection           = clientConnection;
     this.nodeNoticeService          = nodeNoticeService;
     this.conversationsNoticeService = conversationsNoticeService;
     this.deleteMessagesService      = deleteMessagesService;
     this.loadChatsService           = loadChatsService;
     this.pendingMessagesService     = pendingMessagesService;
     this.loadChannelsService        = loadChannelsService;
     this.loadDialogsService         = loadDialogsService;
 }