Package org.javacord.core.util.handler
Class ReadyHandler
- java.lang.Object
-
- org.javacord.core.util.gateway.PacketHandler
-
- org.javacord.core.util.handler.ReadyHandler
-
public class ReadyHandler extends PacketHandler
This class handles the ready packet.
-
-
Field Summary
-
Fields inherited from class org.javacord.core.util.gateway.PacketHandler
api
-
-
Constructor Summary
Constructors Constructor Description ReadyHandler(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
-
ReadyHandler
public ReadyHandler(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).
-
-