Работа над добавлением поиска паттернов

This commit is contained in:
serega6531
2019-04-30 17:21:22 +03:00
parent 0e9820fb46
commit 64507a6d07
6 changed files with 46 additions and 18 deletions

View File

@@ -5,15 +5,15 @@ import org.springframework.stereotype.Component;
import org.springframework.web.socket.CloseStatus;
import org.springframework.web.socket.WebSocketSession;
import org.springframework.web.socket.handler.TextWebSocketHandler;
import ru.serega6531.packmate.service.PacketsSubscriptionService;
import ru.serega6531.packmate.service.StreamSubscriptionService;
@Component
public class WebSocketHandler extends TextWebSocketHandler {
private final PacketsSubscriptionService subscriptionService;
private final StreamSubscriptionService subscriptionService;
@Autowired
public WebSocketHandler(PacketsSubscriptionService subscriptionService) {
public WebSocketHandler(StreamSubscriptionService subscriptionService) {
this.subscriptionService = subscriptionService;
}