public static interface SessionController.SessionConnectNode
Note: None of the provided session nodes can be resumed, the resume timeframe has already passed
Modifier and Type | Method | Description |
---|---|---|
JDA |
getJDA() |
The
JDA instance for this request |
JDA.ShardInfo |
getShardInfo() |
The
ShardInfo for this request. |
boolean |
isReconnect() |
Whether this node is reconnecting.
|
void |
run(boolean isLast) |
When called, establishes the session.
|
boolean isReconnect()
JDA.ShardInfo getShardInfo()
ShardInfo
for this request.
void run(boolean isLast) throws java.lang.InterruptedException
isLast
- True, if this is the last node in a queue worker.
When false this will not wait for the payload to be delivered.java.lang.InterruptedException
- If the calling thread is interrupted