public interface IHandshakeState<S>
Modifier and Type | Method and Description |
---|---|
void |
accept(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(ChannelHandlerContext ctx, FMLHandshakeMessage msg, java.util.function.Consumer<? super S> cons)