Interface ServerSideConnectionEvent.Configuration
- All Superinterfaces:
Event
,ServerSideConnectionEvent
,ServerSideConnectionEvent.ProfileScoped
- Enclosing interface:
ServerSideConnectionEvent
public static interface ServerSideConnectionEvent.Configuration
extends ServerSideConnectionEvent.ProfileScoped
Called when the configuration phase starts. This can happen multiple
times per session.
During this event, it's possible to use the Channel
s to send
requests to the client. As long as there's requests going to the client,
the connection will stay in the configuration phase and will not continue
to the ServerSideConnectionEvent.Login
event.
During the lifetime of the handshake phase, a ServerSideConnection
can be terminated by calling EngineConnection.close(Component)
.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.event.network.ServerSideConnectionEvent
ServerSideConnectionEvent.Auth, ServerSideConnectionEvent.Configuration, ServerSideConnectionEvent.Disconnect, ServerSideConnectionEvent.Handshake, ServerSideConnectionEvent.Intent, ServerSideConnectionEvent.Join, ServerSideConnectionEvent.Leave, ServerSideConnectionEvent.Login, ServerSideConnectionEvent.ProfileScoped
-
Method Summary
Methods inherited from interface org.spongepowered.api.event.network.ServerSideConnectionEvent
connection
Methods inherited from interface org.spongepowered.api.event.network.ServerSideConnectionEvent.ProfileScoped
profile