Package net.md_5.bungee.protocol.channel
Interface ChannelAcceptor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(io.netty.channel.Channel channel) Inside this method the pipeline should be initialized.
-
Method Details
-
accept
boolean accept(io.netty.channel.Channel channel) Inside this method the pipeline should be initialized.- Parameters:
channel- the channel to be accepted and initialized- Returns:
- if the channel was accepted
-