Class VoiceServerUpdateHandler
- java.lang.Object
-
- org.javacord.core.util.gateway.PacketHandler
-
- org.javacord.core.util.handler.guild.VoiceServerUpdateHandler
-
public class VoiceServerUpdateHandler extends PacketHandler
Handles the voice server update packet.
-
-
Field Summary
-
Fields inherited from class org.javacord.core.util.gateway.PacketHandler
api
-
-
Constructor Summary
Constructors Constructor Description VoiceServerUpdateHandler(DiscordApi api)
Creates a new instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(com.fasterxml.jackson.databind.JsonNode packet)
This method is called by the super class to handle the packet.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.javacord.core.util.gateway.PacketHandler
equals, getType, handlePacket, hashCode
-
-
-
-
Constructor Detail
-
VoiceServerUpdateHandler
public VoiceServerUpdateHandler(DiscordApi api)
Creates a new instance of this class.- Parameters:
api
- The api.
-
-
Method Detail
-
handle
public void handle(com.fasterxml.jackson.databind.JsonNode packet)
Description copied from class:PacketHandler
This method is called by the super class to handle the packet.- Specified by:
handle
in classPacketHandler
- Parameters:
packet
- The packet (the "d"-object).
-
-