Class ConnectedEvent
java.lang.Object
org.geysermc.mcprotocollib.network.event.session.ConnectedEvent
- All Implemented Interfaces:
SessionEvent
Called when the session connects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcall(SessionListener listener) Calls the event.Gets the session involved in this event.
-
Constructor Details
-
ConnectedEvent
Creates a new ConnectedEvent instance.- Parameters:
session- Session being connected.
-
-
Method Details
-
getSession
Gets the session involved in this event.- Returns:
- The event's session.
-
call
Description copied from interface:SessionEventCalls the event.- Specified by:
callin interfaceSessionEvent- Parameters:
listener- Listener to call the event on.
-