Package | Description |
---|---|
org.menacheri.jetserver.app | |
org.menacheri.jetserver.app.impl | |
org.menacheri.jetserver.protocols | |
org.menacheri.jetserver.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 |
SimpleByteArrayProtocol
A protocol that can be used for fast paced games where operations and other
values can be sent as bytes which then get processed and converted to actual
java method operations.
|
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.