public interface IHandshakeState<S>
Modifier and Type | Method and Description |
---|---|
void |
accept(io.netty.channel.ChannelHandlerContext ctx,
FMLHandshakeMessage msg,
java.util.function.Consumer<? super S> cons)
Accepts FML handshake message for this state, and if needed - switches to another handshake state
using the provided consumer.
|
void accept(io.netty.channel.ChannelHandlerContext ctx, @Nullable FMLHandshakeMessage msg, java.util.function.Consumer<? super S> cons)