Interface RawDataChannel
-
- All Superinterfaces:
Channel
public interface RawDataChannel extends 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 andRawPlayDataChannel
which can be used during the play phase.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RawHandshakeDataChannel
handshake()
Gets theRawHandshakeDataChannel
which can be used during the handshake phase of aEngineConnection
.RawPlayDataChannel
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 Detail
-
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
-
-