User controls & websocket fix

This commit is contained in:
Thomas
2020-08-05 14:54:21 +02:00
parent ea81b7f598
commit 3ff9be2f96
10 changed files with 59 additions and 35 deletions

View File

@@ -0,0 +1,7 @@
package gltronic.voozik.business;
import org.springframework.web.socket.WebSocketSession;
public interface IYTSearch {
public void search (String query, WebSocketSession session);
}

View File

@@ -50,6 +50,10 @@ public class SocketHandler extends TextWebSocketHandler {
case "candidate":
roomManager.followRTC(session, message);
break;
case "search":
break;
case "alive":
break;
default:
roomManager.sendMessage(session, "error", "unknow command");
}