Class GatewayConnectionFailedImpl
java.lang.Object
com.mewna.catnip.entity.impl.lifecycle.GatewayConnectionFailedImpl
- All Implemented Interfaces:
Entity
,GatewayConnectionFailed
,RequiresCatnip
public class GatewayConnectionFailedImpl
extends Object
implements GatewayConnectionFailed, RequiresCatnip
- Since:
- 7/26/19.
- Author:
- amy
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionGatewayConnectionFailedImpl
(ShardInfo shardInfo, Throwable error, Catnip catnip) -
Method Summary
-
Constructor Details
-
GatewayConnectionFailedImpl
public GatewayConnectionFailedImpl() -
GatewayConnectionFailedImpl
-
-
Method Details
-
catnip
- Specified by:
catnip
in interfaceRequiresCatnip
-
builder
-
shardInfo
- Specified by:
shardInfo
in interfaceGatewayConnectionFailed
- Returns:
- Information about the shard whose gateway websocket connection failed.
-
error
- Specified by:
error
in interfaceGatewayConnectionFailed
- Returns:
- The error thrown during connection failure.
-
catnip
Description copied from interface:Entity
Returns the catnip instance associated with this entity. -
shardInfo
- Returns:
this
.
-
error
- Returns:
this
.
-