Package org.javacord.core.event
Class EventImpl
- java.lang.Object
-
- org.javacord.core.event.EventImpl
-
- All Implemented Interfaces:
Event
- Direct Known Subclasses:
ChannelPinsUpdateEventImpl
,GroupChannelEventImpl
,LostConnectionEventImpl
,MessageEventImpl
,ReconnectEventImpl
,ResumeEventImpl
,ServerEventImpl
,UserEventImpl
public abstract class EventImpl extends Object implements Event
The implementation ofEvent
.
-
-
Field Summary
Fields Modifier and Type Field Description protected DiscordApi
api
The api instance of the event.
-
Constructor Summary
Constructors Constructor Description EventImpl(DiscordApi api)
Creates a new event.
-
-
-
Field Detail
-
api
protected final DiscordApi api
The api instance of the event.
-
-
Constructor Detail
-
EventImpl
public EventImpl(DiscordApi api)
Creates a new event.- Parameters:
api
- The api instance of the event.
-
-
Method Detail
-
getApi
public DiscordApi getApi()
-
-