toggle menu
lavalink-client
8e47675b00207739f611db426af476bb7e2bb22f-SNAPSHOT
jvm
switch theme
lavalink-client
dev.
arbjerg.
lavalink
LLClient
Info
dev.
arbjerg.
lavalink.
client
Abstract
Audio
Load
Result
Handler
Client
Event
Emitted
Event
get
User
Id
From
Token()
IUpdatable
Player
Lavalink
Client
Lavalink
Node
Lavalink
Player
Link
Link
State
CONNECTING
CONNECTED
DISCONNECTED
Player
Update
Builder
Player
Update
Event
Ready
Event
Stats
Event
Track
End
Event
Track
Exception
Event
Track
Start
Event
Track
Stuck
Event
Web
Socket
Closed
Event
dev.
arbjerg.
lavalink.
client.
http
Http
Builder
dev.
arbjerg.
lavalink.
client.
loadbalancing
ILoad
Balancer
IRegion
Filter
MAX_ERROR
Region
Filter
Verdict
PASS
SOFT_BLOCK
BLOCK
Region
Group
Voice
Region
Companion
BRAZIL
HONGKONG
INDIA
JAPAN
ROTTERDAM
RUSSIA
SINGAPORE
SOUTH_AFRICA
SIDNEY
US_CENTRAL
US_EAST
US_SOUTH
US_WEST
UNKNOWN
dev.
arbjerg.
lavalink.
client.
loadbalancing.
builtin
Default
Load
Balancer
IPenalty
Provider
Voice
Region
Penalty
Provider
dev.
arbjerg.
lavalink.
client.
protocol
Filter
Builder
Lavalink
Load
Result
Load
Failed
No
Matches
Playlist
Loaded
Search
Result
to
Lavalink
Load
Result()
Track
Track
Exception
Track
Loaded
dev.
arbjerg.
lavalink.
internal
from
Json
Element()
from
Raw
Json()
Lavalink
Rest
Client
Lavalink
Socket
Reconnect
Task
to
Jackson()
to
Json
Element()
to
Kotlin()
dev.
arbjerg.
lavalink.
internal.
error
Rest
Exception
dev.
arbjerg.
lavalink.
internal.
loadbalancing
LRUCache
Metric
Service
Metric
Type
TRACK_STUCK
TRACK_EXCEPTION
LOAD_FAILED
LOAD_ATTEMPT
Penalties
dev.
arbjerg.
lavalink.
libraries.
discord4j
install
Voice
Handler()
leave()
dev.
arbjerg.
lavalink.
libraries.
jda
JDAVoice
Update
Listener
lavalink-client
/
dev.arbjerg.lavalink.internal
/
LavalinkSocket
Lavalink
Socket
class
LavalinkSocket
(
node
:
LavalinkNode
)
:
WebSocketListener
,
Closeable
Members
Constructors
Lavalink
Socket
Link copied to clipboard
constructor
(
node
:
LavalinkNode
)
Properties
last
Reconnect
Attempt
Link copied to clipboard
var
lastReconnectAttempt
:
Long
may
Reconnect
Link copied to clipboard
var
mayReconnect
:
Boolean
open
Link copied to clipboard
var
open
:
Boolean
reconnect
Interval
Link copied to clipboard
val
reconnectInterval
:
Int
Functions
attempt
Reconnect
Link copied to clipboard
fun
attemptReconnect
(
)
close
Link copied to clipboard
open
override
fun
close
(
)
on
Closed
Link copied to clipboard
open
override
fun
onClosed
(
webSocket
:
WebSocket
,
code
:
Int
,
reason
:
String
)
on
Closing
Link copied to clipboard
open
override
fun
onClosing
(
webSocket
:
WebSocket
,
code
:
Int
,
reason
:
String
)
on
Failure
Link copied to clipboard
open
override
fun
onFailure
(
webSocket
:
WebSocket
,
t
:
Throwable
,
response
:
Response
?
)
on
Message
Link copied to clipboard
open
override
fun
onMessage
(
webSocket
:
WebSocket
,
text
:
String
)
open
fun
onMessage
(
webSocket
:
WebSocket
,
bytes
:
ByteString
)
on
Open
Link copied to clipboard
open
override
fun
onOpen
(
webSocket
:
WebSocket
,
response
:
Response
)