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,RawHandshakeDataChannelwhich can be used during the handshake phase andRawPlayDataChannelwhich can be used during the play phase.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RawHandshakeDataChannelhandshake()Gets theRawHandshakeDataChannelwhich can be used during the handshake phase of aEngineConnection.RawPlayDataChannelplay()Gets theRawPlayDataChannelwhich 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 theRawHandshakeDataChannelwhich can be used during the handshake phase of aEngineConnection.- Returns:
- The raw handshake data channel
-
play
RawPlayDataChannel play()
Gets theRawPlayDataChannelwhich can be used during the play phase of aEngineConnection.- Returns:
- The raw play data channel
-
-