Package dev.arbjerg.lavalink.api
Interface ISocketServer
-
- All Implemented Interfaces:
public interface ISocketServerRepresents a Lavalink server which handles WebSocket connections.
-
-
Method Summary
Modifier and Type Method Description abstract Map<String, ISocketContext>getSessions()A map of all active sessions by their session id. abstract Map<String, ISocketContext>getResumableSessions()A map of all resumable sessions by their session id. -
-
Method Detail
-
getSessions
abstract Map<String, ISocketContext> getSessions()
A map of all active sessions by their session id.
-
getResumableSessions
abstract Map<String, ISocketContext> getResumableSessions()
A map of all resumable sessions by their session id. A session is resumable if the client configured resuming and has disconnected.
-
-
-
-