| Package | Description |
|---|---|
| io.nadron.app | |
| io.nadron.app.impl | |
| io.nadron.protocols | |
| io.nadron.protocols.impl |
| Modifier and Type | Method and Description |
|---|---|
Protocol |
PlayerSession.getProtocol()
Get the
Protocol associated with this session. |
Protocol |
GameRoom.getProtocol()
Each game room has a protocol attached to it.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PlayerSession.setProtocol(Protocol protocol)
Set the network protocol on the user session.
|
void |
GameRoom.setProtocol(Protocol protocol)
Sets the protocol instance on the game room.
|
| Modifier and Type | Field and Description |
|---|---|
protected Protocol |
GameRoomSession.protocol
Each game room has its own protocol for communication with client.
|
protected Protocol |
GameRoomSession.GameRoomSessionBuilder.protocol |
protected Protocol |
DefaultPlayerSession.protocol
This variable holds information about the type of binary communication
protocol to be used with this session.
|
protected Protocol |
DefaultPlayerSession.PlayerSessionBuilder.protocol |
| Modifier and Type | Method and Description |
|---|---|
Protocol |
GameRoomSession.getProtocol() |
Protocol |
DefaultPlayerSession.getProtocol() |
| Modifier and Type | Method and Description |
|---|---|
GameRoomSession.GameRoomSessionBuilder |
GameRoomSession.GameRoomSessionBuilder.protocol(Protocol protocol) |
DefaultPlayerSession.PlayerSessionBuilder |
DefaultPlayerSession.PlayerSessionBuilder.protocol(Protocol protocol) |
void |
GameRoomSession.setProtocol(Protocol protocol) |
void |
DefaultPlayerSession.setProtocol(Protocol protocol) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractNettyProtocol
This abstract class defines common methods across all protocols.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AMF3Protocol
This protocol defines AMF3 as a byte array being sent over the wire.
|
class |
AMF3StringProtocol
This protocol defines AMF3 that is base 64 and String encoded sent over the
wire.
|
class |
ChannelBufferProtocol
A simple protocol which would just strip out the length bytes from the buffer
and return the Netty ChannelBuffer
to the next decoder or game handler in the
ChannelPipeline. |
class |
MessageBufferProtocol |
class |
NettyObjectProtocol |
class |
StringProtocol |
class |
WebSocketProtocol
This protocol can be used for websocket clients which pass JSon objects as
text over the wire.
|
Copyright © 2013. All Rights Reserved.