Class EventHandler
java.lang.Object
org.qubership.atp.dataset.service.ws.event.EventHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis method will store which DSL user would like to edit, user's JSESSIONID and web socket connection of course.getDsPath(org.springframework.web.socket.WebSocketSession socket) returns DSL and Session.returns the list of users who edit current dsl.Collection<org.springframework.web.socket.WebSocketSession> getWebSockets(Event event) returns all websockets which working on current DSL.voidvoidremove(org.springframework.web.socket.WebSocketSession webSocket) remove session by websocket.
-
Constructor Details
-
EventHandler
public EventHandler()
-
-
Method Details
-
add
This method will store which DSL user would like to edit, user's JSESSIONID and web socket connection of course. -
getWebSockets
returns all websockets which working on current DSL. -
remove
-
remove
public void remove(org.springframework.web.socket.WebSocketSession webSocket) remove session by websocket. -
getDsPath
returns DSL and Session. -
getHosts
returns the list of users who edit current dsl.
-