Class ConduitShardReassociationFailureEvent

java.lang.Object
com.github.twitch4j.eventsub.socket.events.ConduitShardReassociationFailureEvent

public final class ConduitShardReassociationFailureEvent extends Object
Fired when a websocket shard unexpected disconnected and could not be re-associated with the conduit after reconnecting.
  • Constructor Details

    • ConduitShardReassociationFailureEvent

      public ConduitShardReassociationFailureEvent(TwitchEventSocket socket, TwitchConduitSocketPool pool, String shardId, Exception exception)
      Creates a new ConduitShardReassociationFailureEvent instance.
      Parameters:
      socket - The websocket that reconnected after an unexpected connection loss, but could not be re-associated as a conduit shard.
      pool - The Conduit pool containing the disconnected conduit shard.
      shardId - The ID of the shard that disconnected.
      exception - The exception thrown by TwitchHelix.updateConduitShards(String, ShardsInput) when trying to re-associate the websocket as a conduit shard for the given ID.
  • Method Details