Skip to content

Commit ea4d5e7

Browse files
committed
Update documention for ServerSideConnectionEvent#Intent
1 parent 196f5d5 commit ea4d5e7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/org/spongepowered/api/event/network/ServerSideConnectionEvent.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
import org.spongepowered.api.event.message.MessageEvent;
3636
import org.spongepowered.api.network.ServerSideConnection;
3737
import org.spongepowered.api.network.channel.Channel;
38+
import org.spongepowered.api.network.channel.raw.RawDataChannel;
3839
import org.spongepowered.api.profile.GameProfile;
3940
import org.spongepowered.api.service.ban.BanService;
4041
import org.spongepowered.api.service.whitelist.WhitelistService;
@@ -81,6 +82,11 @@ public interface ServerSideConnectionEvent extends Event {
8182
* <p>Called asynchronously when the client attempts to connect to
8283
* the server.</p>
8384
*
85+
* <p>During this event, it's possible to use the {@link RawDataChannel}s to send
86+
* requests to the client. As long as there's requests going to the client,
87+
* the connection will stay in the intent phase and will not continue
88+
* to the {@link Auth} event.</p>
89+
*
8490
* <p>After observing this event for particular {@link ServerSideConnection connection}
8591
* you are guaranteed to get #Disconnect for the same connection without
8692
* ordering issues.</p>

0 commit comments

Comments
 (0)