예제 #1
0
파일: ChatHub.cs 프로젝트: Poepon/JK
        public ChatHub(WebSocketConnectionManager webSocketConnectionManager,
                       IHttpContextAccessor httpContextAccess,
                       IOnlineClientManager <ChatChannel> onlineClientManager,
                       IChatAppService chatAppService,
                       JKSession jkSession,
                       IObjectMapper objectMapper,
                       IAppContext appContext,
                       RedisPubSub redisPubSub) :
            base(appContext, onlineClientManager, webSocketConnectionManager)
        {
            this.httpContextAccess = httpContextAccess;

            this.chatAppService = chatAppService;
            AbpSession          = jkSession;
            _objectMapper       = objectMapper;
            _redisPubSub        = redisPubSub;
            _redisPubSub.Subscribe(appContext.LocalHostName);
        }
예제 #2
0
 public ChatController(IBinaryObjectManager binaryObjectManager, IChatAppService chatAppService) :
     base(binaryObjectManager, chatAppService)
 {
 }
예제 #3
0
 public ChatController(IChatAppService chatAppService)
 {
     _chatAppService = chatAppService;
 }
예제 #4
0
 public ChatControllerBase(IBinaryObjectManager binaryObjectManager, IChatAppService chatAppService)
 {
     BinaryObjectManager = binaryObjectManager;
     ChatAppService      = chatAppService;
 }
예제 #5
0
 public ChatHub(IChatAppService chatAppService)
 {
     this.chatAppService = chatAppService;
 }