public interface LoginProtocol
| Modifier and Type | Interface and Description |
|---|---|
static class |
LoginProtocol.CompositeProtocol |
static class |
LoginProtocol.DefaultNadProtocol
This is the default protocol of nadron.
|
static class |
LoginProtocol.HTTPProtocol
Searches the incoming bytes of a client connection to determine if its an
HTTP connection, in which case Websocket or HTTP related handlers will be
applied on the piepline.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
LOGIN_HANDLER_NAME |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyProtocol(io.netty.buffer.ByteBuf buffer,
io.netty.channel.ChannelPipeline pipeline)
Apply a protocol on the pipeline to handle login.
|
static final String LOGIN_HANDLER_NAME
boolean applyProtocol(io.netty.buffer.ByteBuf buffer,
io.netty.channel.ChannelPipeline pipeline)
buffer - The incoming buffer, by default around 5 bytes will be read
and passed on to detect the protocolpipeline - The channelpipeline on which the login protocol handlers need
to be set.Copyright © 2013. All Rights Reserved.