Interface RawDataChannel
- All Superinterfaces:
Channel
Represents a channel that sends and receives raw data. This
channel has two sub-channels,
RawHandshakeDataChannel
which
can be used during the handshake phase and RawPlayDataChannel
which can be used during the play phase.-
Method Summary
Modifier and TypeMethodDescriptionGets theRawHandshakeDataChannel
which can be used during the handshake phase of aEngineConnection
.play()
Gets theRawPlayDataChannel
which can be used during the play phase of aEngineConnection
.Methods inherited from interface org.spongepowered.api.network.channel.Channel
key, manager, setExceptionHandler
-
Method Details
-
handshake
RawHandshakeDataChannel handshake()Gets theRawHandshakeDataChannel
which can be used during the handshake phase of aEngineConnection
.- Returns:
- The raw handshake data channel
-
play
RawPlayDataChannel play()Gets theRawPlayDataChannel
which can be used during the play phase of aEngineConnection
.- Returns:
- The raw play data channel
-