File tree 1 file changed +6
-0
lines changed
src/main/java/org/spongepowered/api/event/network 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 35
35
import org .spongepowered .api .event .message .MessageEvent ;
36
36
import org .spongepowered .api .network .ServerSideConnection ;
37
37
import org .spongepowered .api .network .channel .Channel ;
38
+ import org .spongepowered .api .network .channel .raw .RawDataChannel ;
38
39
import org .spongepowered .api .profile .GameProfile ;
39
40
import org .spongepowered .api .service .ban .BanService ;
40
41
import org .spongepowered .api .service .whitelist .WhitelistService ;
@@ -81,6 +82,11 @@ public interface ServerSideConnectionEvent extends Event {
81
82
* <p>Called asynchronously when the client attempts to connect to
82
83
* the server.</p>
83
84
*
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
+ *
84
90
* <p>After observing this event for particular {@link ServerSideConnection connection}
85
91
* you are guaranteed to get #Disconnect for the same connection without
86
92
* ordering issues.</p>
You can’t perform that action at this time.
0 commit comments