A B C D E F G H I J K L M N O P R S T U V W 

A

AbstractEventHandler - Class in io.nadron.event
Abstract event handler is a helper class which must be overriden by classes which need to implement the EventHandler interface.
AbstractEventHandler(int) - Constructor for class io.nadron.event.AbstractEventHandler
 
AbstractNettyProtocol - Class in io.nadron.protocols
This abstract class defines common methods across all protocols.
AbstractNettyProtocol(String) - Constructor for class io.nadron.protocols.AbstractNettyProtocol
 
AbstractNettyServer - Class in io.nadron.server.netty
 
AbstractNettyServer(NettyConfig, ChannelInitializer<? extends Channel>) - Constructor for class io.nadron.server.netty.AbstractNettyServer
 
act(T) - Method in class io.nadron.concurrent.JetlangActor
 
addANYHandler(EventHandler) - Method in class io.nadron.event.impl.JetlangEventDispatcher
Creates a batch subscription to the jetlang memory channel for the ANY event handler.
addEventListener() - Method in class io.nadron.concurrent.JetlangActor
 
addHandler(EventHandler) - Method in class io.nadron.app.impl.DefaultSession
 
addHandler(EventHandler) - Method in interface io.nadron.app.Session
 
addHandler(EventHandler) - Method in interface io.nadron.event.EventDispatcher
Adds event handler to the dispatcher.
addHandler(EventHandler) - Method in class io.nadron.event.impl.ExecutorEventDispatcher
 
addHandler(EventHandler) - Method in class io.nadron.event.impl.JetlangEventDispatcher
 
addSession(PlayerSession) - Method in class io.nadron.app.impl.DefaultPlayer
 
addSession(PlayerSession) - Method in interface io.nadron.app.Player
Add a session to a player.
afterSessionConnect(PlayerSession) - Method in interface io.nadron.app.GameRoom
Method called after the session is created.
afterSessionConnect(PlayerSession) - Method in class io.nadron.app.impl.GameRoomSession
 
Agent - Class in io.nadron.concurrent
This class is used by the AppManaged aspect to transform a normal method call into an asynchronous one.
Agent() - Constructor for class io.nadron.concurrent.Agent
 
ALL_CHANNELS - Static variable in class io.nadron.server.netty.AbstractNettyServer
 
alphaNumberic - Static variable in class io.nadron.util.RandomStringGenerator
 
AMF3_EXT_INT_SYNC_PROTOCOL - Static variable in class io.nadron.context.AppContext
 
AMF3_PROTOCOL - Static variable in class io.nadron.context.AppContext
 
AMF3_STRING_PROTOCOL - Static variable in class io.nadron.context.AppContext
 
AMF3_TO_JAVA_DECODER - Static variable in class io.nadron.context.AppContext
 
AMF3Protocol - Class in io.nadron.protocols.impl
This protocol defines AMF3 as a byte array being sent over the wire.
AMF3Protocol() - Constructor for class io.nadron.protocols.impl.AMF3Protocol
 
AMF3StringProtocol - Class in io.nadron.protocols.impl
This protocol defines AMF3 that is base 64 and String encoded sent over the wire.
AMF3StringProtocol() - Constructor for class io.nadron.protocols.impl.AMF3StringProtocol
 
AMF3ToJavaObjectDecoder - Class in io.nadron.handlers.netty
This class takes a ByteBuf containing AMF3 object as input and creates a java object from it using the AMFDeSerializer class.
AMF3ToJavaObjectDecoder() - Constructor for class io.nadron.handlers.netty.AMF3ToJavaObjectDecoder
 
AMFDeSerializer - Class in io.nadron.convert.flex
This class is used to convert an AMF3 object (received as a byte array) to a Java object.
AMFDeSerializer(SerializationContext) - Constructor for class io.nadron.convert.flex.AMFDeSerializer
 
AMFSerializer - Class in io.nadron.convert.flex
This class is used to serialize java objects to AMF3 binary format.
AMFSerializer(SerializationContext) - Constructor for class io.nadron.convert.flex.AMFSerializer
This constructor is used by the PictureDataEncoder class in order to create an instance of this class and later use it for converting the java object to AMF3.
ANY - Static variable in class io.nadron.event.Events
Events should NEVER have this type.
anyHandler - Variable in class io.nadron.event.impl.JetlangEventDispatcher
 
APP_CONTEXT - Static variable in class io.nadron.context.AppContext
 
APP_SESSION - Static variable in class io.nadron.context.AppContext
 
AppContext - Class in io.nadron.context
Simple wrapper class for the spring application context.
AppContext() - Constructor for class io.nadron.context.AppContext
 
applicationContext - Static variable in class io.nadron.context.AppContext
 
applyProtocol(ByteBuf, ChannelPipeline) - Method in interface io.nadron.handlers.netty.LoginProtocol
Apply a protocol on the pipeline to handle login.
applyProtocol(ByteBuf, ChannelPipeline) - Method in class io.nadron.handlers.netty.LoginProtocol.CompositeProtocol
 
applyProtocol(ByteBuf, ChannelPipeline) - Method in class io.nadron.handlers.netty.LoginProtocol.DefaultNadProtocol
 
applyProtocol(ByteBuf, ChannelPipeline) - Method in class io.nadron.handlers.netty.LoginProtocol.HTTPProtocol
 
applyProtocol(PlayerSession, boolean) - Method in class io.nadron.protocols.AbstractNettyProtocol
 
applyProtocol(PlayerSession) - Method in class io.nadron.protocols.impl.AMF3Protocol
 
applyProtocol(PlayerSession) - Method in class io.nadron.protocols.impl.AMF3StringProtocol
 
applyProtocol(PlayerSession) - Method in class io.nadron.protocols.impl.ChannelBufferProtocol
 
applyProtocol(PlayerSession) - Method in class io.nadron.protocols.impl.MessageBufferProtocol
 
applyProtocol(PlayerSession) - Method in class io.nadron.protocols.impl.NettyObjectProtocol
 
applyProtocol(PlayerSession) - Method in class io.nadron.protocols.impl.StringProtocol
 
applyProtocol(PlayerSession, boolean) - Method in class io.nadron.protocols.impl.WebSocketProtocol
Specifically overriden so that the pipeline is not cleared.
applyProtocol(PlayerSession) - Method in class io.nadron.protocols.impl.WebSocketProtocol
 
applyProtocol(PlayerSession) - Method in interface io.nadron.protocols.Protocol
The main method of this interface.
applyProtocol(PlayerSession, boolean) - Method in interface io.nadron.protocols.Protocol
This method delegates to the Protocol.applyProtocol(PlayerSession) method after clearing the pipeline based on the input flag.
array() - Method in interface io.nadron.communication.MessageBuffer
Returns the backing byte array of this buffer.
array() - Method in class io.nadron.communication.NettyMessageBuffer
 
attachement - Variable in class io.nadron.event.impl.DefaultEventContext
 

B

base64Decoder - Variable in class io.nadron.protocols.impl.AMF3StringProtocol
The flash client would encode the AMF3 bytes into a base 64 encoded string, this decoder is used to decode it back.
base64Encoder - Variable in class io.nadron.protocols.impl.AMF3StringProtocol
The flash client expects a AMF3 bytes to be passed in as base 64 encoded string.
BASE_64_DECODER - Static variable in class io.nadron.context.AppContext
 
BASE_64_ENCODER - Static variable in class io.nadron.context.AppContext
 
BinaryUtils - Class in io.nadron.util
 
BinaryUtils() - Constructor for class io.nadron.util.BinaryUtils
 
bind(Object) - Method in class io.nadron.concurrent.DataFlowVariable
The method will bind the incoming value to the value in the class and then do a countDown on the latch.
bootstrap - Variable in class io.nadron.server.netty.NettyUDPServer
 
bossGroup - Variable in class io.nadron.server.netty.NettyConfig
 
bossThreadCount - Variable in class io.nadron.server.netty.NettyConfig
 
buffer - Variable in class io.nadron.communication.NettyMessageBuffer
 
build() - Method in class io.nadron.app.impl.DefaultPlayerSession.PlayerSessionBuilder
 
build() - Method in class io.nadron.app.impl.DefaultSession.SessionBuilder
 
BYTE_ARRAY_DECODER - Static variable in class io.nadron.context.AppContext
 
BYTE_ARRAY_STREAM_DECODER - Static variable in class io.nadron.context.AppContext
 
BYTE_ARRAY_TO_CHANNEL_BUFFER_ENCODER - Static variable in class io.nadron.context.AppContext
 
bytesForProtocolCheck - Variable in class io.nadron.handlers.netty.ProtocolMultiplexerDecoder
 
bytesForProtocolCheck - Variable in class io.nadron.server.netty.ProtocolMultiplexerChannelInitializer
 

C

callback - Variable in class io.nadron.concurrent.Agent
The incoming code is executed by this call back synchronously.
callback - Variable in class io.nadron.concurrent.JetlangActor
 
CHANGE_ATTRIBUTE - Static variable in class io.nadron.event.Events
 
changeAttributeEvent(String, Object) - Static method in class io.nadron.event.Events
 
ChangeAttributeEvent - Class in io.nadron.event.impl
 
ChangeAttributeEvent(String, Object) - Constructor for class io.nadron.event.impl.ChangeAttributeEvent
 
channel - Variable in class io.nadron.communication.NettyTCPMessageSender
 
channel - Variable in class io.nadron.communication.NettyUDPMessageSender
 
channel - Variable in class io.nadron.concurrent.Agent
The dedicated in-vm memory channel for this agent.
CHANNEL_COUNTER - Static variable in class io.nadron.handlers.netty.LoginHandler
Used for book keeping purpose.
channelActive(ChannelHandlerContext) - Method in class io.nadron.handlers.netty.LoginHandler
 
ChannelBufferProtocol - Class in io.nadron.protocols.impl
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.
ChannelBufferProtocol() - Constructor for class io.nadron.protocols.impl.ChannelBufferProtocol
 
channelInactive(ChannelHandlerContext) - Method in class io.nadron.handlers.netty.DefaultToServerHandler
 
channelInitializer - Variable in class io.nadron.server.netty.AbstractNettyServer
 
channelInitializer - Variable in class io.nadron.server.netty.NettyConfig
 
channelOptions - Variable in class io.nadron.server.netty.NettyConfig
 
channelRead0(ChannelHandlerContext, Event) - Method in class io.nadron.handlers.netty.DefaultToServerHandler
 
channelRead0(ChannelHandlerContext, Object) - Method in class io.nadron.handlers.netty.FlashPolicyServerHandler
 
channelRead0(ChannelHandlerContext, Event) - Method in class io.nadron.handlers.netty.LoginHandler
 
channelRead0(ChannelHandlerContext, DatagramPacket) - Method in class io.nadron.handlers.netty.UDPUpstreamHandler
 
channelRead0(ChannelHandlerContext, TextWebSocketFrame) - Method in class io.nadron.handlers.netty.WebSocketLoginHandler
 
chooseLane(GROUP) - Method in interface io.nadron.concurrent.LaneStrategy
 
clear() - Method in interface io.nadron.communication.MessageBuffer
Clears the contents of this buffer.
clear() - Method in class io.nadron.communication.NettyMessageBuffer
 
clear() - Method in interface io.nadron.event.EventDispatcher
Clears all handles associated with this dispatcher.
clear() - Method in class io.nadron.event.impl.ExecutorEventDispatcher
 
clear() - Method in class io.nadron.event.impl.JetlangEventDispatcher
 
clearPipeline(ChannelPipeline) - Static method in class io.nadron.util.NettyUtils
A utility method to clear the netty pipeline of all handlers.
clientAddress - Variable in class io.nadron.communication.NettyUDPMessageSender.EventContextImpl
 
close() - Method in interface io.nadron.app.GameRoom
This method will close down the game room.
close() - Method in class io.nadron.app.impl.DefaultPlayerSession
 
close() - Method in class io.nadron.app.impl.DefaultSession
 
close() - Method in class io.nadron.app.impl.GameRoomSession
 
close() - Method in interface io.nadron.app.Session
 
close() - Method in interface io.nadron.communication.MessageSender
Since message sender would have a network connection, it would require some cleanup.
close() - Method in class io.nadron.communication.NettyTCPMessageSender
Writes an the Events.DISCONNECT to the client, flushes all the pending writes and closes the channel.
close() - Method in class io.nadron.communication.NettyUDPMessageSender
 
close() - Method in interface io.nadron.event.EventDispatcher
Called by the session during disconnect, the dispatcher will no longer accept any events, it will also detach the existing listeners.
close() - Method in class io.nadron.event.impl.ExecutorEventDispatcher
 
close() - Method in class io.nadron.event.impl.JetlangEventDispatcher
 
close(ByteBuf, ChannelHandlerContext) - Method in class io.nadron.handlers.netty.ProtocolMultiplexerDecoder
 
closeChannelWithLoginFailure(Channel) - Method in class io.nadron.handlers.netty.LoginHandler
Helper method which will close the channel after writing Events.LOG_IN_FAILURE to remote connection.
closeChannelWithLoginFailure(Channel) - Method in class io.nadron.handlers.netty.WebSocketLoginHandler
 
cName - Variable in class io.nadron.event.impl.DefaultEvent
 
compareAndSetState(Object, Object) - Method in interface io.nadron.service.GameStateManagerService
This method is actually a combination of compareAndSetSyncKey and setState.
compareAndSetState(Object, Object) - Method in class io.nadron.service.impl.GameStateManager
 
compareAndSetSyncKey(Object) - Method in interface io.nadron.service.GameStateManagerService
Method used to achieve synchronization while doing state management.
compareAndSetSyncKey(Object) - Method in class io.nadron.service.impl.GameStateManager
 
computeAndSetNextState(Object, Object, Object) - Method in interface io.nadron.service.GameStateManagerService
 
computeAndSetNextState(Object, Object, Object) - Method in class io.nadron.service.impl.GameStateManager
 
computeNextState(Object, Object, Object) - Method in interface io.nadron.service.GameStateManagerService
 
computeNextState(Object, Object, Object) - Method in class io.nadron.service.impl.GameStateManager
 
CONNECT - Static variable in class io.nadron.event.Events
 
CONNECT_FAILED - Static variable in class io.nadron.event.Events
 
ConnectEvent - Interface in io.nadron.event
 
connectEvent(MessageSender.Reliable) - Static method in class io.nadron.event.Events
 
connectEvent(MessageSender.Fast) - Static method in class io.nadron.event.Events
 
connectEvent(MessageSender.Reliable, MessageSender.Fast) - Static method in class io.nadron.event.Events
 
CONNECTION_AND_CONFIGURATION_SERVICE - Static variable in class io.nadron.context.AppContext
 
connectSession(PlayerSession) - Method in interface io.nadron.app.GameRoom
When a new user connects to the game, this method will be invoked to add the incoming session to the game room.
connectSession(PlayerSession) - Method in class io.nadron.app.impl.GameRoomSession
 
connectToGameRoom(GameRoom, PlayerSession, ChannelFuture) - Method in class io.nadron.handlers.netty.LoginHandler
 
connectToGameRoom(GameRoom, PlayerSession, ChannelFuture) - Method in class io.nadron.handlers.netty.WebSocketLoginHandler
 
context - Variable in class io.nadron.convert.flex.AMFDeSerializer
The serialization context used as an input for the AMF3Input class.
context - Variable in class io.nadron.convert.flex.AMFSerializer
Used by the blazeds api for its context.
convert(T) - Method in interface io.nadron.convert.Transform
Convert Object of type T to type V.
convert(ByteBuf) - Method in class io.nadron.handlers.netty.AMF3ToJavaObjectDecoder
 
counter - Static variable in class io.nadron.concurrent.NamedThreadFactory
 
createAMF3ToJavaObjectDecoder() - Method in class io.nadron.protocols.impl.AMF3Protocol
 
createAMF3ToJavaObjectDecoder() - Method in class io.nadron.protocols.impl.AMF3StringProtocol
 
createAndAddEventHandlers(PlayerSession) - Method in class io.nadron.app.impl.GameRoomSession
Method which will create and add event handlers of the player session to the Game Room's EventDispatcher.
createBufferForOpcode(int) - Static method in class io.nadron.util.NettyUtils
 
createEventCallbackForHandler(EventHandler) - Method in class io.nadron.event.impl.JetlangEventDispatcher
 
createEventObjectDecoder() - Method in class io.nadron.protocols.impl.NettyObjectProtocol
 
createLengthBasedFrameDecoder() - Method in class io.nadron.handlers.netty.LoginProtocol.DefaultNadProtocol
 
createLengthBasedFrameDecoder() - Method in class io.nadron.protocols.AbstractNettyProtocol
 
createPlayerSession(Player) - Method in interface io.nadron.app.GameRoom
Method used to create a player session object.
createPlayerSession(Player) - Method in class io.nadron.app.impl.GameRoomSession
 
createProtcolMultiplexerDecoder() - Method in class io.nadron.server.netty.ProtocolMultiplexerChannelInitializer
 
creationTime - Variable in class io.nadron.app.impl.DefaultSession
 
creationTime - Variable in class io.nadron.app.impl.DefaultSession.SessionBuilder
 
creationTime(long) - Method in class io.nadron.app.impl.DefaultSession.SessionBuilder
 
Credentials - Interface in io.nadron.util
 

D

daemon - Variable in class io.nadron.concurrent.NamedThreadFactory
 
DataFlowVariable - Class in io.nadron.concurrent
An anemic implementation of Gpars GPars dataflow variable.
DataFlowVariable() - Constructor for class io.nadron.concurrent.DataFlowVariable
 
DataFlowVariable(CountDownLatch) - Constructor for class io.nadron.concurrent.DataFlowVariable
 
dataInEvent(Object) - Static method in class io.nadron.event.Events
 
decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.nadron.handlers.netty.AMF3ToJavaObjectDecoder
 
decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.nadron.handlers.netty.EventDecoder
 
decode(ChannelHandlerContext, ByteBuf) - Method in class io.nadron.handlers.netty.EventObjectDecoder
 
decode(ChannelHandlerContext, ByteBuf) - Method in class io.nadron.handlers.netty.EventObjectDecoder.SourceDecoder
 
decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.nadron.handlers.netty.FlashPolicyServerDecoder
 
decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.nadron.handlers.netty.MessageBufferEventDecoder
 
decode(ChannelHandlerContext, ByteBuf) - Method in class io.nadron.handlers.netty.MessageBufferEventDecoder
 
decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class io.nadron.handlers.netty.ProtocolMultiplexerDecoder
 
decode(ChannelHandlerContext, TextWebSocketFrame, List<Object>) - Method in class io.nadron.handlers.netty.TextWebsocketDecoder
 
DEFAULT_LENGTH - Static variable in class io.nadron.util.RandomStringGenerator
 
DEFAULT_PIPELINE_FACTORY - Static variable in class io.nadron.context.AppContext
 
DEFAULT_RECONNECT_DELAY - Static variable in class io.nadron.util.NadronConfig
By default wait for 5 minutes for remote client to reconnect, before closing session.
DefaultConnectEvent - Class in io.nadron.event.impl
This is a specific Event class with type Events.CONNECT.
DefaultConnectEvent(MessageSender.Reliable) - Constructor for class io.nadron.event.impl.DefaultConnectEvent
 
DefaultConnectEvent(MessageSender.Fast) - Constructor for class io.nadron.event.impl.DefaultConnectEvent
 
DefaultConnectEvent(MessageSender.Reliable, MessageSender.Fast) - Constructor for class io.nadron.event.impl.DefaultConnectEvent
 
DefaultEvent - Class in io.nadron.event.impl
 
DefaultEvent() - Constructor for class io.nadron.event.impl.DefaultEvent
 
DefaultEventContext - Class in io.nadron.event.impl
 
DefaultEventContext() - Constructor for class io.nadron.event.impl.DefaultEventContext
 
DefaultEventContext(Session, Object) - Constructor for class io.nadron.event.impl.DefaultEventContext
 
DefaultLane - Class in io.nadron.concurrent
 
DefaultLane(String, ExecutorService) - Constructor for class io.nadron.concurrent.DefaultLane
 
DefaultNetworkEvent - Class in io.nadron.event.impl
Default implementation of NetworkEvent interface.
DefaultNetworkEvent() - Constructor for class io.nadron.event.impl.DefaultNetworkEvent
Default constructor which will set the DeliveryGuaranty to RELIABLE.
DefaultNetworkEvent(Event) - Constructor for class io.nadron.event.impl.DefaultNetworkEvent
Copy constructor which will take values from the event and set it on this instance.
DefaultNetworkEvent(Event, DeliveryGuaranty) - Constructor for class io.nadron.event.impl.DefaultNetworkEvent
Copy constructor which will take values from the event and set it on this instance.
DefaultPlayer - Class in io.nadron.app.impl
 
DefaultPlayer() - Constructor for class io.nadron.app.impl.DefaultPlayer
 
DefaultPlayer(Object, String, String) - Constructor for class io.nadron.app.impl.DefaultPlayer
 
DefaultPlayerSession - Class in io.nadron.app.impl
This implementation of the PlayerSession interface is used to both receive and send messages to a particular player using the DefaultSession.onEvent(io.nadron.event.Event).
DefaultPlayerSession(DefaultPlayerSession.PlayerSessionBuilder) - Constructor for class io.nadron.app.impl.DefaultPlayerSession
 
DefaultPlayerSession.PlayerSessionBuilder - Class in io.nadron.app.impl
 
DefaultPlayerSession.PlayerSessionBuilder() - Constructor for class io.nadron.app.impl.DefaultPlayerSession.PlayerSessionBuilder
 
DefaultSession - Class in io.nadron.app.impl
The default implementation of the session class.
DefaultSession(DefaultSession.SessionBuilder) - Constructor for class io.nadron.app.impl.DefaultSession
 
DefaultSession.SessionBuilder - Class in io.nadron.app.impl
This class is roughly based on Joshua Bloch's Builder pattern.
DefaultSession.SessionBuilder() - Constructor for class io.nadron.app.impl.DefaultSession.SessionBuilder
 
DefaultSessionEventHandler - Class in io.nadron.event.impl
This class will handle any event that gets published to a Session.onEvent(Event).
DefaultSessionEventHandler(Session) - Constructor for class io.nadron.event.impl.DefaultSessionEventHandler
 
DefaultToServerHandler - Class in io.nadron.handlers.netty
This class will handle on the GameEvents by forwarding message events to the associated session instance.
DefaultToServerHandler(PlayerSession) - Constructor for class io.nadron.handlers.netty.DefaultToServerHandler
 
DELIVERY_GUARANTY - Static variable in class io.nadron.communication.NettyTCPMessageSender
 
DELIVERY_GUARANTY - Static variable in class io.nadron.communication.NettyUDPMessageSender
 
DeliveryGuaranty - Interface in io.nadron.communication
The delivery guaranty for the underlying network transport protocol.
DeliveryGuaranty.DeliveryGuarantyOptions - Enum in io.nadron.communication
 
DeliveryGuaranty.DeliveryGuarantyOptions(int) - Constructor for enum io.nadron.communication.DeliveryGuaranty.DeliveryGuarantyOptions
 
deSerializeObjectFromStream(ByteArrayInputStream) - Method in class io.nadron.handlers.netty.AMF3ToJavaObjectDecoder
 
DISCONNECT - Static variable in class io.nadron.event.Events
If a remote connection is disconnected or closed then raise this event.
disconnectSession(PlayerSession) - Method in interface io.nadron.app.GameRoom
Remove a session from the existing list of user sessions.
disconnectSession(PlayerSession) - Method in class io.nadron.app.impl.GameRoomSession
 
dispatcherLane - Variable in class io.nadron.event.impl.JetlangEventDispatcher
 
dispatchEventOnSameLane(Event) - Method in class io.nadron.event.impl.JetlangEventDispatcher
 
disposableHandlerMap - Variable in class io.nadron.event.impl.JetlangEventDispatcher
This Map holds event handlers and their corresponding Disposable objects.
doEventHandlerMethodLookup(Event) - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 

E

emailId - Variable in class io.nadron.app.impl.DefaultPlayer
Email id of the gamer.
encode(ChannelHandlerContext, Event, List<Object>) - Method in class io.nadron.handlers.netty.EventEncoder
 
encode(ChannelHandlerContext, Event, List<Object>) - Method in class io.nadron.handlers.netty.EventObjectEncoder
 
encode(ChannelHandlerContext, Serializable, ByteBuf) - Method in class io.nadron.handlers.netty.EventObjectEncoder.SourceEncoder
 
encode(ChannelHandlerContext, Object, ByteBuf) - Method in class io.nadron.handlers.netty.JavaObjectToAMF3Encoder
 
encode(ChannelHandlerContext, Event, List<Object>) - Method in class io.nadron.handlers.netty.MessageBufferEventEncoder
 
encode(ChannelHandlerContext, Event) - Method in class io.nadron.handlers.netty.MessageBufferEventEncoder
Encode is separated out so that child classes can still reuse this functionality.
encode(ChannelHandlerContext, ByteBuf, ByteBuf) - Method in class io.nadron.handlers.netty.NulEncoder
 
encode(ChannelHandlerContext, Event, List<Object>) - Method in class io.nadron.handlers.netty.TextWebsocketEncoder
 
encode(ChannelHandlerContext, Event, List<Object>) - Method in class io.nadron.handlers.netty.UDPEventEncoder
 
equals(Object) - Method in class io.nadron.app.impl.DefaultPlayer
 
equals(Object) - Method in class io.nadron.app.impl.DefaultSession
 
equals(Object) - Method in class io.nadron.app.impl.SimpleGame
 
equals(Object) - Method in class io.nadron.concurrent.DefaultLane
 
Event - Interface in io.nadron.event
 
event(Object, int) - Static method in class io.nadron.event.Events
 
event(Object, int, Session) - Static method in class io.nadron.event.Events
 
event(Object, int, EventContext) - Static method in class io.nadron.event.Events
 
EVENT_TYPE - Variable in class io.nadron.event.AbstractEventHandler
 
EVENT_TYPE - Static variable in class io.nadron.event.impl.NetworkEventListener
 
eventClass - Variable in class io.nadron.handlers.netty.TextWebsocketDecoder
This will be put into the ChannelHandlerContext the first time attr method is invoed on it.
eventContext - Variable in class io.nadron.communication.NettyUDPMessageSender
 
EventContext - Interface in io.nadron.event
 
eventContext - Variable in class io.nadron.event.impl.DefaultEvent
 
EventDecoder - Class in io.nadron.handlers.netty
 
EventDecoder() - Constructor for class io.nadron.handlers.netty.EventDecoder
 
eventDecoder - Variable in class io.nadron.handlers.netty.LoginProtocol.DefaultNadProtocol
 
eventDecoder - Variable in class io.nadron.protocols.impl.ChannelBufferProtocol
 
eventDispatcher - Variable in class io.nadron.app.impl.DefaultSession
event dispatcher
eventDispatcher - Variable in class io.nadron.app.impl.DefaultSession.SessionBuilder
 
eventDispatcher(EventDispatcher) - Method in class io.nadron.app.impl.DefaultSession.SessionBuilder
 
EventDispatcher - Interface in io.nadron.event
EventDispatcher's are associated with a session, so that the session can use it to dispatch incoming events to the appropriate handlers.
EventDispatchers - Class in io.nadron.event.impl
 
EventDispatchers() - Constructor for class io.nadron.event.impl.EventDispatchers
 
EventEncoder - Class in io.nadron.handlers.netty
A simple event encoder will receive an incoming event, and convert it to a ByteBuf.
EventEncoder() - Constructor for class io.nadron.handlers.netty.EventEncoder
 
eventEncoder - Variable in class io.nadron.protocols.impl.ChannelBufferProtocol
 
EventHandler - Interface in io.nadron.event
 
EventObjectDecoder - Class in io.nadron.handlers.netty
 
EventObjectDecoder(int, int, int, int, int) - Constructor for class io.nadron.handlers.netty.EventObjectDecoder
Creates a new instance.
EventObjectDecoder.SourceDecoder - Class in io.nadron.handlers.netty
 
EventObjectDecoder.SourceDecoder() - Constructor for class io.nadron.handlers.netty.EventObjectDecoder.SourceDecoder
 
EventObjectEncoder - Class in io.nadron.handlers.netty
 
EventObjectEncoder() - Constructor for class io.nadron.handlers.netty.EventObjectEncoder
 
EventObjectEncoder.SourceEncoder - Class in io.nadron.handlers.netty
 
EventObjectEncoder.SourceEncoder() - Constructor for class io.nadron.handlers.netty.EventObjectEncoder.SourceEncoder
 
eventQueue - Variable in class io.nadron.event.impl.JetlangEventDispatcher
 
Events - Class in io.nadron.event
 
Events() - Constructor for class io.nadron.event.Events
 
eventToFrame(byte, Object) - Method in class io.nadron.handlers.netty.WebSocketLoginHandler
 
EXCEPTION - Static variable in class io.nadron.event.Events
A network exception will in turn cause this even to be raised.
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class io.nadron.handlers.netty.DefaultToServerHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class io.nadron.handlers.netty.FlashPolicyServerHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class io.nadron.handlers.netty.LoginHandler
 
exec - Variable in class io.nadron.concurrent.DefaultLane
 
execute(Task) - Method in class io.nadron.service.impl.SimpleTaskManagerService
 
execute(Task) - Method in interface io.nadron.service.TaskManagerService
 
EXECUTOR - Static variable in class io.nadron.event.impl.ExecutorEventDispatcher
 
EXECUTOR_SERVICES - Static variable in class io.nadron.concurrent.ManagedExecutor
 
ExecutorEventDispatcher - Class in io.nadron.event.impl
 
ExecutorEventDispatcher() - Constructor for class io.nadron.event.impl.ExecutorEventDispatcher
 
ExecutorEventDispatcher(Map<Integer, List<EventHandler>>, List<EventHandler>) - Constructor for class io.nadron.event.impl.ExecutorEventDispatcher
 

F

FACT - Static variable in class io.nadron.concurrent.Fibers
 
fiber - Variable in class io.nadron.concurrent.Agent
The fiber associated with this agent.
fiber - Variable in class io.nadron.concurrent.JetlangActor
 
fiber - Variable in class io.nadron.event.impl.JetlangEventDispatcher
 
Fibers - Class in io.nadron.concurrent
This class acts as a factory for creating jetlang Fibers.
Fibers() - Constructor for class io.nadron.concurrent.Fibers
 
fireEvent(Event) - Method in interface io.nadron.event.EventDispatcher
Fires event in asynchronous mode
fireEvent(Event) - Method in class io.nadron.event.impl.ExecutorEventDispatcher
 
fireEvent(Event) - Method in class io.nadron.event.impl.JetlangEventDispatcher
 
FLASH_POLICY_SERVER - Static variable in class io.nadron.context.AppContext
 
FLASH_POLICY_SERVER_DECODER - Static variable in class io.nadron.context.AppContext
 
FLASH_POLICY_SERVER_HANDLER - Static variable in class io.nadron.context.AppContext
 
FlashPolicyServerChannelInitalizer - Class in io.nadron.server.netty
 
FlashPolicyServerChannelInitalizer() - Constructor for class io.nadron.server.netty.FlashPolicyServerChannelInitalizer
 
FlashPolicyServerDecoder - Class in io.nadron.handlers.netty
 
FlashPolicyServerDecoder() - Constructor for class io.nadron.handlers.netty.FlashPolicyServerDecoder
 
FlashPolicyServerHandler - Class in io.nadron.handlers.netty
 
FlashPolicyServerHandler(String) - Constructor for class io.nadron.handlers.netty.FlashPolicyServerHandler
 
frameSize - Variable in class io.nadron.handlers.netty.LoginProtocol.DefaultNadProtocol
 
frameSize - Variable in class io.nadron.protocols.impl.StringProtocol
The maximum size of the incoming message in bytes.
fromAmf(ByteArrayInputStream) - Method in class io.nadron.convert.flex.AMFDeSerializer
This method takes an AMF3 object in byte array form and converts it to a corresponding java object.

G

Game - Interface in io.nadron.app
This interface abstracts a game domain object.
GAME_ADMIN_SERVICE - Static variable in class io.nadron.context.AppContext
 
GAME_LIST - Static variable in class io.nadron.event.Events
 
GAME_ROOM_JOIN - Static variable in class io.nadron.event.Events
 
GAME_ROOM_JOIN_FAILURE - Static variable in class io.nadron.event.Events
 
GAME_ROOM_JOIN_SUCCESS - Static variable in class io.nadron.event.Events
 
GAME_ROOM_LEAVE - Static variable in class io.nadron.event.Events
 
gameAdminService - Variable in class io.nadron.server.netty.AbstractNettyServer
 
GameAdminService - Interface in io.nadron.service
This interface defines methods that are of an Administrative nature.
GameCommandInterpreter - Interface in io.nadron.app
This interface defines a command interpreter, which will basically map the incoming bytes to a method call on some class.
gameCommandInterpreter - Variable in class io.nadron.app.impl.SimpleGame
Each game has its own specific commands.
GameEvent<T,O,E> - Interface in io.nadron.app
This interface has methods that need to be implemented by a game event.
gameLookup(Object) - Method in class io.nadron.service.impl.SimpleLookupService
 
gameLookup(Object) - Method in interface io.nadron.service.LookupService
Get a game based on a reference key.
gameName - Variable in class io.nadron.app.impl.SimpleGame
The name of the game.
GameRoom - Interface in io.nadron.app
This interface represents a game room and the related operations available on it.
gameRoomLookup(Object) - Method in class io.nadron.service.impl.SimpleLookupService
 
gameRoomLookup(Object) - Method in interface io.nadron.service.LookupService
Get a game room based on a reference key.
gameRoomName - Variable in class io.nadron.app.impl.GameRoomSession
The name of the game room, preferably unique across multiple games.
gameRoomName - Variable in class io.nadron.app.impl.GameRoomSession.GameRoomSessionBuilder
 
gameRoomName(String) - Method in class io.nadron.app.impl.GameRoomSession.GameRoomSessionBuilder
 
GameRoomSession - Class in io.nadron.app.impl
 
GameRoomSession(GameRoomSession.GameRoomSessionBuilder) - Constructor for class io.nadron.app.impl.GameRoomSession
 
GameRoomSession.GameRoomSessionBuilder - Class in io.nadron.app.impl
 
GameRoomSession.GameRoomSessionBuilder() - Constructor for class io.nadron.app.impl.GameRoomSession.GameRoomSessionBuilder
 
games - Variable in class io.nadron.service.impl.SimpleGameAdminService
 
GameStartListener - Interface in io.nadron.app
Defines the starting point for a game instance.
GameStateManager - Class in io.nadron.service.impl
 
GameStateManager() - Constructor for class io.nadron.service.impl.GameStateManager
 
GameStateManager(Object, AtomicInteger) - Constructor for class io.nadron.service.impl.GameStateManager
 
GameStateManagerService - Interface in io.nadron.service
Every multi-player game requires some sort of state management, this interface contains methods which can be implemented for doing such service.
generate() - Method in class io.nadron.service.impl.SimpleUniqueIdGenerator
 
generate() - Method in interface io.nadron.service.UniqueIDGeneratorService
Returns a unique id across the network, including those generated by UniqueIDGeneratorService.generateFor(Class) method.
generateFor(Class) - Method in class io.nadron.service.impl.SimpleUniqueIdGenerator
 
generateFor(Class) - Method in interface io.nadron.service.UniqueIDGeneratorService
Returns a unique id across the network, including those generated by UniqueIDGeneratorService.generate() method.
generateRandomString(int) - Static method in class io.nadron.util.RandomStringGenerator
 
genericHandlers - Variable in class io.nadron.event.impl.ExecutorEventDispatcher
 
get() - Method in class io.nadron.convert.flex.SerializationContextProvider
 
getAttachment() - Method in class io.nadron.communication.NettyUDPMessageSender.EventContextImpl
 
getAttachment() - Method in interface io.nadron.event.EventContext
Retrieves an object which is attached to this context.
getAttachment() - Method in class io.nadron.event.impl.DefaultEventContext
 
getAttribute(String) - Method in class io.nadron.app.impl.DefaultSession
 
getAttribute(String) - Method in interface io.nadron.app.Session
 
getBase64Decoder() - Method in class io.nadron.protocols.impl.AMF3StringProtocol
 
getBase64Encoder() - Method in class io.nadron.protocols.impl.AMF3StringProtocol
 
getBean(String) - Static method in class io.nadron.context.AppContext
This method is used to retrieve a bean by its name.
getBossGroup() - Method in class io.nadron.server.netty.AbstractNettyServer
 
getBossGroup() - Method in class io.nadron.server.netty.NettyConfig
 
getBossThreadCount() - Method in class io.nadron.server.netty.NettyConfig
 
getBytesForProtocolCheck() - Method in class io.nadron.handlers.netty.ProtocolMultiplexerDecoder
 
getBytesForProtocolCheck() - Method in class io.nadron.server.netty.ProtocolMultiplexerChannelInitializer
 
getChannel() - Method in class io.nadron.communication.NettyTCPMessageSender
 
getChannel() - Method in class io.nadron.communication.NettyUDPMessageSender
 
getChannelInitializer() - Method in class io.nadron.server.netty.AbstractNettyServer
 
getChannelInitializer() - Method in interface io.nadron.server.netty.NettyServer
createServerBootstrap will create a pipeline factory and save it as a class variable.
getChannelOptions() - Method in class io.nadron.server.netty.NettyConfig
 
getcName() - Method in class io.nadron.event.impl.DefaultEvent
 
getContext() - Method in class io.nadron.convert.flex.AMFDeSerializer
 
getContext() - Method in class io.nadron.convert.flex.AMFSerializer
 
getCreationTime() - Method in class io.nadron.app.impl.DefaultSession
 
getCreationTime() - Method in interface io.nadron.app.Session
 
getDeliveryGuaranty() - Method in interface io.nadron.communication.MessageSender
Returns the delivery guaranty of the implementation.
getDeliveryGuaranty() - Method in class io.nadron.communication.NettyTCPMessageSender
 
getDeliveryGuaranty() - Method in class io.nadron.communication.NettyUDPMessageSender
 
getDeliveryGuaranty() - Method in class io.nadron.event.impl.DefaultNetworkEvent
 
getDeliveryGuaranty() - Method in interface io.nadron.event.NetworkEvent
 
getDisposable() - Method in interface io.nadron.event.JetlangDisposable
 
getDisposableHandlerMap() - Method in class io.nadron.event.impl.JetlangEventDispatcher
 
getEmailId() - Method in class io.nadron.app.impl.DefaultPlayer
 
getEmailId() - Method in interface io.nadron.app.Player
Method used to get the email id of the gamer.
getEventContext() - Method in interface io.nadron.event.Event
 
getEventContext() - Method in class io.nadron.event.impl.DefaultEvent
 
getEventDecoder() - Method in class io.nadron.handlers.netty.LoginProtocol.DefaultNadProtocol
 
getEventDecoder() - Method in class io.nadron.protocols.impl.ChannelBufferProtocol
 
getEventDispatcher() - Method in class io.nadron.app.impl.DefaultSession
 
getEventDispatcher() - Method in interface io.nadron.app.Session
 
getEventEncoder() - Method in class io.nadron.protocols.impl.ChannelBufferProtocol
 
getEventHandlers(int) - Method in class io.nadron.app.impl.DefaultSession
 
getEventHandlers(int) - Method in interface io.nadron.app.Session
 
getEventName() - Method in interface io.nadron.app.GameEvent
 
getEventQueue() - Method in class io.nadron.event.impl.JetlangEventDispatcher
 
getEventType() - Method in interface io.nadron.app.GameEvent
 
getEventType() - Method in class io.nadron.event.AbstractEventHandler
 
getEventType() - Method in interface io.nadron.event.EventHandler
 
getEventType() - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 
getEventType() - Method in class io.nadron.event.impl.NetworkEventListener
 
getEventType() - Method in class io.nadron.event.impl.SessionMessageHandler
 
getFactory() - Method in interface io.nadron.app.GameRoom
 
getFactory() - Method in class io.nadron.app.impl.GameRoomSession
 
getFiber() - Method in class io.nadron.event.impl.JetlangEventDispatcher
 
getFlashPolicyServerHandler() - Method in class io.nadron.server.netty.FlashPolicyServerChannelInitalizer
Spring will return the actual prototype bean from its context here.
getFrameSize() - Method in class io.nadron.handlers.netty.LoginProtocol.DefaultNadProtocol
 
getFrameSize() - Method in class io.nadron.protocols.impl.StringProtocol
 
getGameAdminService() - Method in class io.nadron.server.netty.AbstractNettyServer
 
getGameCommandInterpreter() - Method in interface io.nadron.app.Game
Each game requires a different set of game commands.
getGameCommandInterpreter() - Method in class io.nadron.app.impl.SimpleGame
 
getGameName() - Method in interface io.nadron.app.Game
Get the name of the game.
getGameName() - Method in class io.nadron.app.impl.SimpleGame
 
getGameRoom() - Method in interface io.nadron.app.GameStartListener
 
getGameRoom() - Method in class io.nadron.app.impl.DefaultPlayerSession
 
getGameRoom() - Method in interface io.nadron.app.PlayerSession
Each user session is attached to a game room.
getGameRoomName() - Method in interface io.nadron.app.GameRoom
 
getGameRoomName() - Method in class io.nadron.app.impl.GameRoomSession
 
getGames() - Method in class io.nadron.service.impl.SimpleGameAdminService
 
getGameStateManagerService() - Method in interface io.nadron.handlers.StateAware
This method is used to get the state manager associated with this handler.
getGuaranty() - Method in enum io.nadron.communication.DeliveryGuaranty.DeliveryGuarantyOptions
 
getGuaranty() - Method in interface io.nadron.communication.DeliveryGuaranty
Return the associated integer guaranty constant.
getHandlers(int) - Method in interface io.nadron.event.EventDispatcher
Returns the list of EventHandlers associated with a particular event type.
getHandlers(int) - Method in class io.nadron.event.impl.ExecutorEventDispatcher
 
getHandlers(int) - Method in class io.nadron.event.impl.JetlangEventDispatcher
 
getHandlersToRemoveForSession(List<EventHandler>, Session) - Method in class io.nadron.event.impl.JetlangEventDispatcher
 
getHexString(byte[]) - Static method in class io.nadron.util.BinaryUtils
 
getHexString(byte[], String) - Static method in class io.nadron.util.BinaryUtils
 
getId() - Method in interface io.nadron.app.Game
 
getId() - Method in class io.nadron.app.impl.DefaultPlayer
 
getId() - Method in class io.nadron.app.impl.DefaultSession
 
getId() - Method in class io.nadron.app.impl.DefaultSession.SessionBuilder
 
getId() - Method in class io.nadron.app.impl.SimpleGame
Meant as a database access key.
getId() - Method in interface io.nadron.app.Player
A unique key representing a gamer.
getId() - Method in interface io.nadron.app.Session
 
getId() - Method in interface io.nadron.app.Task
 
getId() - Method in class io.nadron.concurrent.DefaultLane
 
getId() - Method in interface io.nadron.concurrent.Lane
 
getId() - Method in class io.nadron.service.impl.ReconnectSessionRegistry.ClearSessionTask
 
getIdGeneratorService() - Method in class io.nadron.handlers.netty.LoginHandler
 
getIdGeneratorService() - Method in class io.nadron.handlers.netty.WebSocketLoginHandler
 
getJackson() - Method in class io.nadron.handlers.netty.TextWebsocketDecoder
 
getJackson() - Method in class io.nadron.handlers.netty.TextWebsocketEncoder
 
getJackson() - Method in class io.nadron.handlers.netty.WebSocketLoginHandler
 
getJavaObjectToAMF3Encoder() - Method in class io.nadron.protocols.impl.AMF3Protocol
 
getJavaObjectToAMF3Encoder() - Method in class io.nadron.protocols.impl.AMF3StringProtocol
 
getJetLanes() - Method in enum io.nadron.concurrent.Lanes
 
getKey() - Method in class io.nadron.event.impl.ChangeAttributeEvent
 
getLastReadWriteTime() - Method in class io.nadron.app.impl.DefaultSession
 
getLastReadWriteTime() - Method in interface io.nadron.app.Session
 
getLengthFieldPrepender() - Method in class io.nadron.handlers.netty.LoginProtocol.DefaultNadProtocol
 
getLengthFieldPrepender() - Method in class io.nadron.protocols.impl.AMF3Protocol
 
getLengthFieldPrepender() - Method in class io.nadron.protocols.impl.ChannelBufferProtocol
 
getLengthFieldPrepender() - Method in class io.nadron.protocols.impl.MessageBufferProtocol
 
getLengthFieldPrepender() - Method in class io.nadron.protocols.impl.NettyObjectProtocol
 
getListenersByEventType() - Method in class io.nadron.event.impl.JetlangEventDispatcher
 
getLoginHandler() - Method in class io.nadron.handlers.netty.LoginProtocol.DefaultNadProtocol
 
getLoginProtocol() - Method in class io.nadron.handlers.netty.ProtocolMultiplexerDecoder
 
getLoginProtocol() - Method in class io.nadron.server.netty.ProtocolMultiplexerChannelInitializer
 
getLookupService() - Method in class io.nadron.handlers.netty.LoginHandler
 
getLookupService() - Method in class io.nadron.handlers.netty.WebSocketLoginHandler
 
getMaxFrameSize() - Method in class io.nadron.protocols.impl.AMF3StringProtocol
 
getMessageBufferEventDecoder() - Method in class io.nadron.handlers.netty.UDPUpstreamHandler
 
getMessageBufferEventDecoder() - Method in class io.nadron.protocols.impl.MessageBufferProtocol
 
getMessageBufferEventEncoder() - Method in class io.nadron.protocols.impl.MessageBufferProtocol
 
getName() - Method in class io.nadron.app.impl.DefaultPlayer
 
getName() - Method in interface io.nadron.app.Player
Method used to get the name of the gamer.
getNativeBuffer() - Method in interface io.nadron.communication.MessageBuffer
Returns the actual buffer implementation that is wrapped in this MessageBuffer instance.
getNativeBuffer() - Method in class io.nadron.communication.NettyMessageBuffer
 
getNettyConfig() - Method in class io.nadron.server.netty.AbstractNettyServer
 
getNettyConfig() - Method in interface io.nadron.server.netty.NettyServer
Get the netty configuration associated with this server.
getNulEncoder() - Method in class io.nadron.protocols.impl.AMF3StringProtocol
 
getNulEncoder() - Method in class io.nadron.protocols.impl.StringProtocol
 
getNumOfCores() - Method in enum io.nadron.concurrent.Lanes
 
getOpCode() - Method in interface io.nadron.app.GameEvent
 
getParentGame() - Method in interface io.nadron.app.GameRoom
Each game room belongs to a game.
getParentGame() - Method in class io.nadron.app.impl.GameRoomSession
 
getPassword() - Method in interface io.nadron.util.Credentials
 
getPassword() - Method in class io.nadron.util.SimpleCredentials
 
getPayload() - Method in interface io.nadron.app.GameEvent
 
getPipeLineOfConnection(NettyTCPMessageSender) - Static method in class io.nadron.util.NettyUtils
 
getPipeLineOfConnection(PlayerSession) - Static method in class io.nadron.util.NettyUtils
 
getPlayer() - Method in class io.nadron.app.impl.DefaultPlayerSession
 
getPlayer() - Method in interface io.nadron.app.PlayerSession
Each session is associated with a Player.
getPlayerSession() - Method in interface io.nadron.app.GameEvent
 
getPlayerSession() - Method in class io.nadron.handlers.netty.DefaultToServerHandler
 
getPlayerSessions() - Method in class io.nadron.app.impl.DefaultPlayer
 
getPolicyFileContents() - Method in class io.nadron.handlers.netty.FlashPolicyServerHandler
 
getPortNumber() - Method in class io.nadron.handlers.netty.FlashPolicyServerHandler
 
getPortNumber() - Method in class io.nadron.server.netty.NettyConfig
 
getProtocol() - Method in interface io.nadron.app.GameRoom
Each game room has a protocol attached to it.
getProtocol() - Method in class io.nadron.app.impl.DefaultPlayerSession
 
getProtocol() - Method in class io.nadron.app.impl.GameRoomSession
 
getProtocol() - Method in interface io.nadron.app.PlayerSession
Get the Protocol associated with this session.
getProtocolName() - Method in class io.nadron.protocols.AbstractNettyProtocol
 
getProtocolName() - Method in interface io.nadron.protocols.Protocol
Return the string name of this protocol.
getProtocols() - Method in class io.nadron.handlers.netty.LoginProtocol.CompositeProtocol
 
getReconnectDelay() - Method in class io.nadron.service.impl.ReconnectSessionRegistry
 
getReconnectRegistry() - Method in class io.nadron.handlers.netty.LoginHandler
 
getReconnectRegistry() - Method in class io.nadron.handlers.netty.WebSocketLoginHandler
 
getRefKeyGameRoomMap() - Method in class io.nadron.service.impl.SimpleLookupService
 
getRemoteAddress() - Method in class io.nadron.communication.NettyUDPMessageSender
 
getSerializedByteArray() - Method in interface io.nadron.service.GameStateManagerService
Whenever serialization is done from Java object to AMF3, or just plain seriazlied java object, it should be saved in byte array format to the state manager.
getSerializedByteArray() - Method in class io.nadron.service.impl.GameStateManager
 
getSession() - Method in class io.nadron.communication.NettyUDPMessageSender.EventContextImpl
 
getSession() - Method in interface io.nadron.event.EventContext
 
getSession() - Method in class io.nadron.event.impl.DefaultEventContext
 
getSession() - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 
getSession() - Method in class io.nadron.event.impl.NetworkEventListener
 
getSession() - Method in class io.nadron.event.impl.SessionMessageHandler
 
getSession() - Method in interface io.nadron.event.SessionEventHandler
 
getSession(T) - Method in class io.nadron.service.impl.SessionRegistry
 
getSession(T) - Method in interface io.nadron.service.SessionRegistryService
 
getSessionAttributes() - Method in class io.nadron.app.impl.DefaultSession
 
getSessionInstance(Player) - Method in class io.nadron.app.impl.GameRoomSession
 
getSessionRegistryService() - Method in class io.nadron.communication.NettyUDPMessageSender
 
getSessions() - Method in interface io.nadron.app.GameRoom
Returns a list of sessions that is held by the game room.
getSessions() - Method in class io.nadron.app.impl.GameRoomSession
 
getSocketAddress() - Method in class io.nadron.server.netty.AbstractNettyServer
 
getSocketAddress() - Method in class io.nadron.server.netty.NettyConfig
 
getSocketAddress() - Method in interface io.nadron.server.Server
 
getSource() - Method in interface io.nadron.event.Event
 
getSource() - Method in class io.nadron.event.impl.DefaultConnectEvent
 
getSource() - Method in class io.nadron.event.impl.DefaultEvent
 
getState() - Method in interface io.nadron.service.GameStateManagerService
 
getState() - Method in class io.nadron.service.impl.GameStateManager
 
getStateAlgorithm() - Method in interface io.nadron.service.GameStateManagerService
 
getStateAlgorithm() - Method in class io.nadron.service.impl.GameStateManager
 
getStateManager() - Method in interface io.nadron.app.GameRoom
Every non trivial game will have some sort of state management service going on.
getStateManager() - Method in class io.nadron.app.impl.GameRoomSession
 
getStatus() - Method in class io.nadron.app.impl.DefaultSession
 
getStatus() - Method in interface io.nadron.app.Session
 
getStringDecoder() - Method in class io.nadron.protocols.impl.StringProtocol
 
getStringEncoder() - Method in class io.nadron.protocols.impl.StringProtocol
 
getSyncKey() - Method in interface io.nadron.service.GameStateManagerService
Method used to retrieve the synchronization key object.
getSyncKey() - Method in class io.nadron.service.impl.GameStateManager
 
getTaskManagerService() - Method in class io.nadron.service.impl.ReconnectSessionRegistry
 
getTcpSender() - Method in class io.nadron.app.impl.DefaultSession
 
getTcpSender() - Method in interface io.nadron.app.Session
 
getTcpSender() - Method in interface io.nadron.event.ConnectEvent
 
getTcpSender() - Method in class io.nadron.event.impl.DefaultConnectEvent
 
getTextWebsocketDecoder() - Method in class io.nadron.protocols.impl.WebSocketProtocol
 
getTextWebsocketEncoder() - Method in class io.nadron.protocols.impl.WebSocketProtocol
 
getTimeStamp() - Method in interface io.nadron.app.GameEvent
 
getTimeStamp() - Method in interface io.nadron.event.Event
 
getTimeStamp() - Method in class io.nadron.event.impl.DefaultEvent
 
getTransmissionProtocol() - Method in class io.nadron.server.netty.NettyTCPServer
 
getTransmissionProtocol() - Method in class io.nadron.server.netty.NettyUDPServer
 
getTransmissionProtocol() - Method in interface io.nadron.server.Server
 
getType() - Method in interface io.nadron.event.Event
 
getType() - Method in class io.nadron.event.impl.ChangeAttributeEvent
 
getType() - Method in class io.nadron.event.impl.DefaultConnectEvent
 
getType() - Method in class io.nadron.event.impl.DefaultEvent
 
getType() - Method in class io.nadron.event.impl.ReconnetEvent
 
getUDPConnectEvent(Event, SocketAddress, DatagramChannel) - Method in class io.nadron.handlers.netty.UDPUpstreamHandler
 
getUdpEventEncoder() - Method in class io.nadron.server.netty.UDPChannelInitializer
 
getUdpSender() - Method in class io.nadron.app.impl.DefaultSession
 
getUdpSender() - Method in interface io.nadron.app.Session
 
getUdpSender() - Method in interface io.nadron.event.ConnectEvent
 
getUdpSender() - Method in class io.nadron.event.impl.DefaultConnectEvent
 
getUdpSessionRegistry() - Method in class io.nadron.handlers.netty.LoginHandler
 
getUdpSessionRegistry() - Method in class io.nadron.handlers.netty.UDPUpstreamHandler
 
getUnderlyingLane() - Method in class io.nadron.concurrent.DefaultLane
 
getUnderlyingLane() - Method in interface io.nadron.concurrent.Lane
 
getUpstream() - Method in class io.nadron.server.netty.UDPChannelInitializer
 
getUsername() - Method in interface io.nadron.util.Credentials
 
getUsername() - Method in class io.nadron.util.SimpleCredentials
 
getVal() - Method in class io.nadron.concurrent.DataFlowVariable
This method blocks till the count down latch has reset to 0.
getVal(long, TimeUnit) - Method in class io.nadron.concurrent.DataFlowVariable
This method blocks for a specified amount of time to retrieve the value bound in bind method.
getValue() - Method in class io.nadron.event.impl.ChangeAttributeEvent
 
getWebSocketLoginHandler() - Method in class io.nadron.handlers.netty.LoginProtocol.HTTPProtocol
 
getWorkerGroup() - Method in class io.nadron.server.netty.AbstractNettyServer
 
getWorkerGroup() - Method in class io.nadron.server.netty.NettyConfig
 
getWorkerThreadCount() - Method in class io.nadron.server.netty.NettyConfig
 
guaranty - Variable in enum io.nadron.communication.DeliveryGuaranty.DeliveryGuarantyOptions
 
guaranty - Variable in class io.nadron.event.impl.DefaultNetworkEvent
 

H

handleGameRoomJoin(Player, ChannelHandlerContext, ByteBuf) - Method in class io.nadron.handlers.netty.LoginHandler
 
handleGameRoomJoin(Player, Channel, String) - Method in class io.nadron.handlers.netty.WebSocketLoginHandler
 
handleLogin(Player, ChannelHandlerContext, ByteBuf) - Method in class io.nadron.handlers.netty.LoginHandler
 
handleLogin(Player, Channel) - Method in class io.nadron.handlers.netty.WebSocketLoginHandler
 
handleReconnect(PlayerSession, ChannelHandlerContext, ByteBuf) - Method in class io.nadron.handlers.netty.LoginHandler
 
handleReconnect(PlayerSession, Channel) - Method in class io.nadron.handlers.netty.WebSocketLoginHandler
 
handleReJoin(PlayerSession, GameRoom, Channel, ByteBuf) - Method in class io.nadron.handlers.netty.LoginHandler
 
handleReJoin(PlayerSession, GameRoom, Channel) - Method in class io.nadron.handlers.netty.WebSocketLoginHandler
 
handlersByEventType - Variable in class io.nadron.event.impl.ExecutorEventDispatcher
 
handlersByEventType - Variable in class io.nadron.event.impl.JetlangEventDispatcher
 
HANDSHAKE_HANDLER - Static variable in class io.nadron.context.AppContext
 
HANDSHAKE_PIPELINE_FACTORY - Static variable in class io.nadron.context.AppContext
 
HANDSHAKE_SERVICE - Static variable in class io.nadron.context.AppContext
 
hashCode() - Method in class io.nadron.app.impl.DefaultPlayer
 
hashCode() - Method in class io.nadron.app.impl.DefaultSession
 
hashCode() - Method in class io.nadron.app.impl.SimpleGame
 
hashCode() - Method in class io.nadron.concurrent.DefaultLane
 
HASHED_WHEEL_TIMER - Static variable in class io.nadron.context.AppContext
 
HEXES - Static variable in class io.nadron.util.BinaryUtils
 

I

id - Variable in class io.nadron.app.impl.DefaultPlayer
This variable could be used as a database key.
id - Variable in class io.nadron.app.impl.DefaultSession
session id
id - Variable in class io.nadron.app.impl.DefaultSession.SessionBuilder
 
id(String) - Method in class io.nadron.app.impl.DefaultSession.SessionBuilder
 
id - Variable in class io.nadron.app.impl.SimpleGame
This variable could be used as a database key.
ID - Static variable in class io.nadron.service.impl.SimpleUniqueIdGenerator
 
ID_GENERATOR_SERVICE - Static variable in class io.nadron.app.impl.DefaultSession.SessionBuilder
Used to set a unique id on the incoming sessions to this room.
idGeneratorService - Variable in class io.nadron.handlers.netty.LoginHandler
 
idGeneratorService - Variable in class io.nadron.handlers.netty.WebSocketLoginHandler
 
IDLE_CHECK_HANDLER - Static variable in class io.nadron.context.AppContext
 
IDLE_STATE_CHECK_HANDLER - Static variable in class io.nadron.protocols.AbstractNettyProtocol
Name of the idle state check handlers which will be removed by protocol manually if required from pipeline.
inChannel - Variable in class io.nadron.concurrent.JetlangActor
 
initChannel(SocketChannel) - Method in class io.nadron.server.netty.FlashPolicyServerChannelInitalizer
 
initChannel(SocketChannel) - Method in class io.nadron.server.netty.ProtocolMultiplexerChannelInitializer
 
initChannel(DatagramChannel) - Method in class io.nadron.server.netty.UDPChannelInitializer
 
initialize() - Method in class io.nadron.event.impl.JetlangEventDispatcher
 
initialized() - Method in class io.nadron.context.AppContext
Called from the main method once the application is initialized.
INSTANCE - Static variable in class io.nadron.app.impl.Sessions
 
interpretCommand(Object) - Method in interface io.nadron.app.GameCommandInterpreter
A generic method which can be used to interpret an incoming command from the client.
InvalidCommandException - Exception in io.nadron.app.impl
 
InvalidCommandException(String) - Constructor for exception io.nadron.app.impl.InvalidCommandException
 
InvalidCommandException(String, Exception) - Constructor for exception io.nadron.app.impl.InvalidCommandException
 
io.nadron.app - package io.nadron.app
 
io.nadron.app.impl - package io.nadron.app.impl
 
io.nadron.communication - package io.nadron.communication
 
io.nadron.concurrent - package io.nadron.concurrent
 
io.nadron.context - package io.nadron.context
 
io.nadron.convert - package io.nadron.convert
 
io.nadron.convert.flex - package io.nadron.convert.flex
 
io.nadron.event - package io.nadron.event
 
io.nadron.event.impl - package io.nadron.event.impl
 
io.nadron.handlers - package io.nadron.handlers
 
io.nadron.handlers.netty - package io.nadron.handlers.netty
 
io.nadron.protocols - package io.nadron.protocols
 
io.nadron.protocols.impl - package io.nadron.protocols.impl
 
io.nadron.server - package io.nadron.server
 
io.nadron.server.netty - package io.nadron.server.netty
 
io.nadron.service - package io.nadron.service
 
io.nadron.service.impl - package io.nadron.service.impl
 
io.nadron.util - package io.nadron.util
 
isCloseCalled - Variable in class io.nadron.event.impl.JetlangEventDispatcher
 
isConnected() - Method in class io.nadron.app.impl.DefaultSession
 
isConnected() - Method in interface io.nadron.app.Session
 
isHttp(int, int) - Method in class io.nadron.handlers.netty.LoginProtocol.HTTPProtocol
Method which checks if the first 2 incoming parameters are G, E or similar combiantions which signal that its an HTTP protocol, since some protocols like nadron's default protocol send the length first (which is 2 arbitrary bytes), its better if this protocol is searched last to avoid switching to HTTP protocol prematurely.
isNadProtocol(int, int) - Method in class io.nadron.handlers.netty.LoginProtocol.DefaultNadProtocol
 
isOnSameLane(String) - Method in class io.nadron.concurrent.DefaultLane
 
isOnSameLane(ID_TYPE) - Method in interface io.nadron.concurrent.Lane
 
isReadable() - Method in interface io.nadron.communication.MessageBuffer
 
isReadable() - Method in class io.nadron.communication.NettyMessageBuffer
 
isShuttingDown - Variable in class io.nadron.app.impl.DefaultSession
Life cycle variable to check if the session is shutting down.
isShuttingDown() - Method in class io.nadron.app.impl.DefaultSession
 
isShuttingDown - Variable in class io.nadron.app.impl.DefaultSession.SessionBuilder
 
isShuttingDown(boolean) - Method in class io.nadron.app.impl.DefaultSession.SessionBuilder
 
isShuttingDown() - Method in class io.nadron.app.impl.GameRoomSession
 
isShuttingDown() - Method in interface io.nadron.app.Session
 
isShuttingDown - Variable in class io.nadron.event.impl.ExecutorEventDispatcher
 
isUDPEnabled - Variable in class io.nadron.app.impl.DefaultSession
 
isUDPEnabled() - Method in class io.nadron.app.impl.DefaultSession
Not synchronized because default implementation does not care whether a duplicated message sender is created.
isUDPEnabled - Variable in class io.nadron.app.impl.DefaultSession.SessionBuilder
 
isUDPEnabled(boolean) - Method in class io.nadron.app.impl.DefaultSession.SessionBuilder
 
isUDPEnabled() - Method in interface io.nadron.app.Session
A session would not have UDP capability when created.
isWriteable - Variable in class io.nadron.app.impl.DefaultSession
 
isWriteable() - Method in class io.nadron.app.impl.DefaultSession
 
isWriteable - Variable in class io.nadron.app.impl.DefaultSession.SessionBuilder
 
isWriteable(boolean) - Method in class io.nadron.app.impl.DefaultSession.SessionBuilder
 
isWriteable() - Method in interface io.nadron.app.Session
 

J

jackson - Variable in class io.nadron.handlers.netty.TextWebsocketDecoder
 
jackson - Variable in class io.nadron.handlers.netty.TextWebsocketEncoder
 
jackson - Variable in class io.nadron.handlers.netty.WebSocketLoginHandler
 
JAVA_TO_AMF3_ENCODER - Static variable in class io.nadron.context.AppContext
 
JavaObjectToAMF3Encoder - Class in io.nadron.handlers.netty
This class will convert the incoming java object to Flex AMF3 byte format and put them in a Netty ByteBuf.
JavaObjectToAMF3Encoder() - Constructor for class io.nadron.handlers.netty.JavaObjectToAMF3Encoder
 
javaObjectToAMF3Encoder - Variable in class io.nadron.protocols.impl.AMF3Protocol
Once the game handler is done with its operations, it writes back the java object to the client.
javaObjectToAMF3Encoder - Variable in class io.nadron.protocols.impl.AMF3StringProtocol
Once the game handler is done with its operations, it writes back the java object to the client.
jetLanes - Variable in enum io.nadron.concurrent.Lanes
 
JetlangActor<T> - Class in io.nadron.concurrent
 
JetlangActor(Channel<T>, Channel<T>, Fiber, Callback<T>) - Constructor for class io.nadron.concurrent.JetlangActor
 
JetlangActor() - Constructor for class io.nadron.concurrent.JetlangActor
 
JetlangDisposable - Interface in io.nadron.event
If the Event dispatcher uses Jetlang internally then it would require to dispose of Jetlang ChannelSubscriptions using the dispose method during cleanup.
JetlangEventDispatcher - Class in io.nadron.event.impl
 
JetlangEventDispatcher(MemoryChannel<Event>, Fiber, Lane<String, ExecutorService>) - Constructor for class io.nadron.event.impl.JetlangEventDispatcher
 
JetlangEventDispatcher(Map<Integer, List<EventHandler>>, List<EventHandler>, MemoryChannel<Event>, Fiber, Lane<String, ExecutorService>) - Constructor for class io.nadron.event.impl.JetlangEventDispatcher
 

K

key - Variable in class io.nadron.event.impl.ChangeAttributeEvent
 

L

Lane<ID_TYPE,UNDERLYING_LANE> - Interface in io.nadron.concurrent
 
laneName - Variable in class io.nadron.concurrent.DefaultLane
 
lanePoolFactoryMap - Static variable in class io.nadron.concurrent.Fibers
 
Lanes - Enum in io.nadron.concurrent
 
Lanes() - Constructor for enum io.nadron.concurrent.Lanes
 
lanes - Variable in enum io.nadron.concurrent.LaneStrategy.LaneStrategies
 
laneStrategy - Variable in class io.nadron.app.impl.GameRoomSession.GameRoomSessionBuilder
 
laneStrategy(LaneStrategy<String, ExecutorService, GameRoom>) - Method in class io.nadron.app.impl.GameRoomSession.GameRoomSessionBuilder
 
LaneStrategy<LANE_ID_TYPE,UNDERLYING_LANE,GROUP> - Interface in io.nadron.concurrent
A session choosing a Lane can be done based on a strategy.
LaneStrategy.LaneStrategies - Enum in io.nadron.concurrent
 
LaneStrategy.LaneStrategies() - Constructor for enum io.nadron.concurrent.LaneStrategy.LaneStrategies
 
lastReadWriteTime - Variable in class io.nadron.app.impl.DefaultSession
 
lastReadWriteTime - Variable in class io.nadron.app.impl.DefaultSession.SessionBuilder
 
lastReadWriteTime(long) - Method in class io.nadron.app.impl.DefaultSession.SessionBuilder
 
latch - Variable in class io.nadron.concurrent.DataFlowVariable
 
LENGTH_FIELD_BASED_FRAME_DECODER - Static variable in class io.nadron.context.AppContext
 
LENGTH_FIELD_PREPENDER - Static variable in class io.nadron.context.AppContext
 
lengthFieldPrepender - Variable in class io.nadron.handlers.netty.LoginProtocol.DefaultNadProtocol
 
lengthFieldPrepender - Variable in class io.nadron.protocols.impl.AMF3Protocol
Utility handler provided by netty to add the length of the outgoing message to the message as a header.
lengthFieldPrepender - Variable in class io.nadron.protocols.impl.ChannelBufferProtocol
Utility handler provided by netty to add the length of the outgoing message to the message as a header.
lengthFieldPrepender - Variable in class io.nadron.protocols.impl.MessageBufferProtocol
Utility handler provided by netty to add the length of the outgoing message to the message as a header.
lengthFieldPrepender - Variable in class io.nadron.protocols.impl.NettyObjectProtocol
 
loadGame(long, String) - Method in interface io.nadron.service.GameAdminService
Loads a game based on the game id OR game name.
loadGame(long, String) - Method in class io.nadron.service.impl.SimpleGameAdminService
 
loadGameRoom(Game, long, String) - Method in interface io.nadron.service.GameAdminService
Loads a game room based on the game room id OR game name.
loadGameRoom(Game, long, String) - Method in class io.nadron.service.impl.SimpleGameAdminService
 
LOG - Static variable in class io.nadron.app.impl.GameRoomSession
 
LOG - Static variable in class io.nadron.communication.NettyTCPMessageSender
 
LOG - Static variable in class io.nadron.communication.NettyUDPMessageSender
 
LOG - Static variable in class io.nadron.event.impl.DefaultSessionEventHandler
 
LOG - Static variable in class io.nadron.event.impl.JetlangEventDispatcher
 
LOG - Static variable in class io.nadron.handlers.netty.AMF3ToJavaObjectDecoder
 
LOG - Static variable in class io.nadron.handlers.netty.DefaultToServerHandler
 
LOG - Static variable in class io.nadron.handlers.netty.FlashPolicyServerHandler
 
LOG - Static variable in class io.nadron.handlers.netty.JavaObjectToAMF3Encoder
 
LOG - Static variable in class io.nadron.handlers.netty.LoginHandler
 
LOG - Static variable in class io.nadron.handlers.netty.ProtocolMultiplexerDecoder
 
LOG - Static variable in class io.nadron.handlers.netty.UDPUpstreamHandler
 
LOG - Static variable in class io.nadron.handlers.netty.WebSocketLoginHandler
 
LOG - Static variable in class io.nadron.protocols.impl.ChannelBufferProtocol
 
LOG - Static variable in class io.nadron.protocols.impl.MessageBufferProtocol
 
LOG - Static variable in class io.nadron.protocols.impl.NettyObjectProtocol
 
LOG - Static variable in class io.nadron.protocols.impl.WebSocketProtocol
 
LOG - Static variable in class io.nadron.server.netty.AbstractNettyServer
 
LOG - Static variable in class io.nadron.server.netty.NettyTCPServer
 
LOG - Static variable in class io.nadron.server.netty.NettyUDPServer
 
LOG - Static variable in class io.nadron.server.netty.ServerManagerImpl
 
LOG - Static variable in class io.nadron.service.impl.GameStateManager
 
LOG - Static variable in class io.nadron.util.NettyUtils
 
LOG_IN - Static variable in class io.nadron.event.Events
Event used to log in to a server from a remote client.
LOG_IN_FAILURE - Static variable in class io.nadron.event.Events
 
LOG_IN_SUCCESS - Static variable in class io.nadron.event.Events
 
LOG_OUT - Static variable in class io.nadron.event.Events
 
LOG_OUT_FAILURE - Static variable in class io.nadron.event.Events
 
LOG_OUT_SUCCESS - Static variable in class io.nadron.event.Events
 
LOGIN_HANDLER_NAME - Static variable in interface io.nadron.handlers.netty.LoginProtocol
 
LoginHandler - Class in io.nadron.handlers.netty
 
LoginHandler() - Constructor for class io.nadron.handlers.netty.LoginHandler
 
loginHandler - Variable in class io.nadron.handlers.netty.LoginProtocol.DefaultNadProtocol
 
LoginProtocol - Interface in io.nadron.handlers.netty
Applies a protocol to the incoming pipeline which will handle login.
loginProtocol - Variable in class io.nadron.handlers.netty.ProtocolMultiplexerDecoder
 
loginProtocol - Variable in class io.nadron.server.netty.ProtocolMultiplexerChannelInitializer
 
LoginProtocol.CompositeProtocol - Class in io.nadron.handlers.netty
 
LoginProtocol.CompositeProtocol() - Constructor for class io.nadron.handlers.netty.LoginProtocol.CompositeProtocol
 
LoginProtocol.DefaultNadProtocol - Class in io.nadron.handlers.netty
This is the default protocol of nadron.
LoginProtocol.DefaultNadProtocol() - Constructor for class io.nadron.handlers.netty.LoginProtocol.DefaultNadProtocol
 
LoginProtocol.HTTPProtocol - Class in io.nadron.handlers.netty
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.
LoginProtocol.HTTPProtocol() - Constructor for class io.nadron.handlers.netty.LoginProtocol.HTTPProtocol
 
loginUdp(PlayerSession, ByteBuf) - Method in class io.nadron.handlers.netty.LoginHandler
This method adds the player session to the SessionRegistryService.
logNullTcpConnection(Event) - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 
logout(PlayerSession) - Method in class io.nadron.app.impl.DefaultPlayer
 
logout(PlayerSession) - Method in interface io.nadron.app.Player
When a player logs out, this method can be called.
LOOKUP_SERVICE - Static variable in class io.nadron.context.AppContext
 
lookupPlayer(ByteBuf, Channel) - Method in class io.nadron.handlers.netty.LoginHandler
 
lookupPlayer(String, String) - Method in class io.nadron.handlers.netty.WebSocketLoginHandler
 
lookupService - Variable in class io.nadron.handlers.netty.LoginHandler
 
lookupService - Variable in class io.nadron.handlers.netty.WebSocketLoginHandler
 
LookupService - Interface in io.nadron.service
 
lookupSession(String) - Method in class io.nadron.handlers.netty.LoginHandler
 
lookupSession(String) - Method in class io.nadron.handlers.netty.WebSocketLoginHandler
 

M

ManagedExecutor - Class in io.nadron.concurrent
 
ManagedExecutor() - Constructor for class io.nadron.concurrent.ManagedExecutor
 
MAX_IDLE_SECONDS - Static variable in class io.nadron.server.netty.FlashPolicyServerChannelInitalizer
 
MAX_IDLE_SECONDS - Static variable in class io.nadron.server.netty.ProtocolMultiplexerChannelInitializer
 
maxFrameSize - Variable in class io.nadron.protocols.impl.AMF3StringProtocol
The maximum size of the incoming message in bytes.
MessageBuffer<T> - Interface in io.nadron.communication
A message buffer can be used for communicating complex messages between server and client or between sessions.
MessageBufferEventDecoder - Class in io.nadron.handlers.netty
This decoder will convert a Netty ByteBuf to a NettyMessageBuffer.
MessageBufferEventDecoder() - Constructor for class io.nadron.handlers.netty.MessageBufferEventDecoder
 
messageBufferEventDecoder - Variable in class io.nadron.handlers.netty.UDPUpstreamHandler
 
messageBufferEventDecoder - Variable in class io.nadron.protocols.impl.MessageBufferProtocol
 
MessageBufferEventEncoder - Class in io.nadron.handlers.netty
 
MessageBufferEventEncoder() - Constructor for class io.nadron.handlers.netty.MessageBufferEventEncoder
 
messageBufferEventEncoder - Variable in class io.nadron.protocols.impl.MessageBufferProtocol
 
MessageBufferProtocol - Class in io.nadron.protocols.impl
 
MessageBufferProtocol() - Constructor for class io.nadron.protocols.impl.MessageBufferProtocol
 
MessageSender - Interface in io.nadron.communication
This interface declares method for sending a message to client.
MessageSender.Fast - Interface in io.nadron.communication
An interface whose implementations would transmit messages fast but unreliably to the remote machine/vm.
MessageSender.Reliable - Interface in io.nadron.communication
An interface whose implementations would transmit messages reliably to the remote machine/vm.

N

NadronConfig - Class in io.nadron.util
 
NadronConfig() - Constructor for class io.nadron.util.NadronConfig
 
name - Variable in class io.nadron.app.impl.DefaultPlayer
The name of the gamer.
name - Variable in class io.nadron.concurrent.NamedThreadFactory
 
NamedThreadFactory - Class in io.nadron.concurrent
 
NamedThreadFactory(String) - Constructor for class io.nadron.concurrent.NamedThreadFactory
 
NamedThreadFactory(String, boolean) - Constructor for class io.nadron.concurrent.NamedThreadFactory
 
NamedThreadFactory(String, boolean, int) - Constructor for class io.nadron.concurrent.NamedThreadFactory
 
NETTY_CHANNEL - Static variable in class io.nadron.util.NettyUtils
 
NETTY_CHANNEL_GROUP - Static variable in class io.nadron.context.AppContext
 
nettyConfig - Variable in class io.nadron.server.netty.AbstractNettyServer
 
NettyConfig - Class in io.nadron.server.netty
This class holds configuration information thats useful to start a netty server.
NettyConfig() - Constructor for class io.nadron.server.netty.NettyConfig
 
NettyMessageBuffer - Class in io.nadron.communication
This class is an implementation of the MessageBuffer interface.
NettyMessageBuffer() - Constructor for class io.nadron.communication.NettyMessageBuffer
 
NettyMessageBuffer(ByteBuf) - Constructor for class io.nadron.communication.NettyMessageBuffer
This constructor can be used when trying to read information from a ByteBuf.
NettyObjectProtocol - Class in io.nadron.protocols.impl
 
NettyObjectProtocol() - Constructor for class io.nadron.protocols.impl.NettyObjectProtocol
 
NettyServer - Interface in io.nadron.server.netty
An interface specific to the JBoss Netty implementation.
NettyTCPMessageSender - Class in io.nadron.communication
A class that transmits messages reliably to remote machines/vm's.
NettyTCPMessageSender(Channel) - Constructor for class io.nadron.communication.NettyTCPMessageSender
 
NettyTCPServer - Class in io.nadron.server.netty
This class is used for TCP IP communications with client.
NettyTCPServer(NettyConfig, ChannelInitializer<? extends Channel>) - Constructor for class io.nadron.server.netty.NettyTCPServer
 
NettyUDPMessageSender - Class in io.nadron.communication
This class is used to send messages to a remote UDP client or server.
NettyUDPMessageSender(SocketAddress, DatagramChannel, SessionRegistryService<SocketAddress>) - Constructor for class io.nadron.communication.NettyUDPMessageSender
 
NettyUDPMessageSender.EventContextImpl - Class in io.nadron.communication
 
NettyUDPMessageSender.EventContextImpl(InetSocketAddress) - Constructor for class io.nadron.communication.NettyUDPMessageSender.EventContextImpl
 
NettyUDPServer - Class in io.nadron.server.netty
This server does UDP connection less broadcast.
NettyUDPServer(NettyConfig, ChannelInitializer<? extends Channel>) - Constructor for class io.nadron.server.netty.NettyUDPServer
 
NettyUtils - Class in io.nadron.util
This class would be an assortment of netty related utility methods.
NettyUtils() - Constructor for class io.nadron.util.NettyUtils
 
NETWORK_MESSAGE - Static variable in class io.nadron.event.Events
This event is used to send data from the current machine to remote machines using TCP or UDP transports.
networkEvent(Object) - Static method in class io.nadron.event.Events
Creates a network event with the source set to the object passed in as parameter and the DeliveryGuaranty set to DeliveryGuaranty.DeliveryGuarantyOptions.RELIABLE.
networkEvent(Object, DeliveryGuaranty) - Static method in class io.nadron.event.Events
Creates a network event with the source set to the object passed in as parameter and the DeliveryGuaranty set to the incoming parameter.
NetworkEvent - Interface in io.nadron.event
This interface is specifically used for events that will get transmitted to remote machine/vm.
NetworkEventListener - Class in io.nadron.event.impl
A listener class which will be used by GameRoom to send NetworkEvents to the connected sessions.
NetworkEventListener(Session) - Constructor for class io.nadron.event.impl.NetworkEventListener
 
newJetlangEventDispatcher(GameRoom, LaneStrategy<String, ExecutorService, GameRoom>) - Static method in class io.nadron.event.impl.EventDispatchers
 
NEWLINE - Static variable in class io.nadron.handlers.netty.FlashPolicyServerHandler
 
newPlayerSession(GameRoom, Player) - Method in class io.nadron.app.impl.Sessions
 
newPlayerSession(GameRoom, Player) - Method in interface io.nadron.app.SessionFactory
 
newSession() - Method in class io.nadron.app.impl.Sessions
 
newSession() - Method in interface io.nadron.app.SessionFactory
 
newSingleThreadExecutor(ThreadFactory) - Static method in class io.nadron.concurrent.ManagedExecutor
 
newThread(Runnable) - Method in class io.nadron.concurrent.NamedThreadFactory
 
NODE_NAME - Static variable in class io.nadron.util.NadronConfig
 
NUL_ENCODER - Static variable in class io.nadron.context.AppContext
 
NulEncoder - Class in io.nadron.handlers.netty
 
NulEncoder() - Constructor for class io.nadron.handlers.netty.NulEncoder
 
nulEncoder - Variable in class io.nadron.protocols.impl.AMF3StringProtocol
Flash client expects a nul byte 0x00 to be added as the end byte of any communication with it.
nulEncoder - Variable in class io.nadron.protocols.impl.StringProtocol
Flash client expects a nul byte 0x00 to be added as the end byte of any communication with it.
NULL_BUFFER - Static variable in class io.nadron.handlers.netty.NulEncoder
 
numOfCores - Variable in enum io.nadron.concurrent.Lanes
 

O

onChangeAttribute(ChangeAttributeEvent) - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 
onClose(Event) - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 
onConnect(ConnectEvent) - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 
onConnectFailed(Event) - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 
onCustomEvent(Event) - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 
onDataIn(Event) - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 
onDisconnect(Event) - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 
onEvent(Event) - Method in class io.nadron.app.impl.DefaultSession
 
onEvent(Event) - Method in interface io.nadron.app.Session
 
onEvent(Event) - Method in interface io.nadron.event.EventHandler
On event
onEvent(Event) - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 
onEvent(Event) - Method in class io.nadron.event.impl.NetworkEventListener
 
onException(Event) - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 
onLogin(PlayerSession) - Method in interface io.nadron.app.GameRoom
Method called after the session is created.
onLogin(PlayerSession) - Method in class io.nadron.app.impl.GameRoomSession
 
onLoginFailure(Event) - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 
onLoginSuccess(Event) - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 
onLogout(Event) - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 
onNetworkMessage(NetworkEvent) - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 
onReconnect(ConnectEvent) - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 
onStart(Event) - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 
onStop(Event) - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 
outChannel - Variable in class io.nadron.concurrent.JetlangActor
 

P

parentGame - Variable in class io.nadron.app.impl.GameRoomSession.GameRoomSessionBuilder
 
parentGame(Game) - Method in class io.nadron.app.impl.GameRoomSession.GameRoomSessionBuilder
 
parentGame - Variable in class io.nadron.app.impl.GameRoomSession
The parent SimpleGame reference of this game room.
parentGameRoom - Variable in class io.nadron.app.impl.DefaultPlayerSession
Each incoming connection is made to a game room.
parentGameRoom - Variable in class io.nadron.app.impl.DefaultPlayerSession.PlayerSessionBuilder
 
parentGameRoom(GameRoom) - Method in class io.nadron.app.impl.DefaultPlayerSession.PlayerSessionBuilder
 
password - Variable in class io.nadron.util.SimpleCredentials
 
pipeline - Variable in class io.nadron.server.netty.UDPChannelInitializer
This pipeline will be shared across all the channels.
player - Variable in class io.nadron.app.impl.DefaultPlayerSession
Each session belongs to a Player.
player - Variable in class io.nadron.app.impl.DefaultPlayerSession.PlayerSessionBuilder
 
player(Player) - Method in class io.nadron.app.impl.DefaultPlayerSession.PlayerSessionBuilder
 
Player - Interface in io.nadron.app
A Player is a human or machine that is playing single or multiple games.
playerLookup(Credentials) - Method in class io.nadron.service.impl.SimpleLookupService
 
playerLookup(Credentials) - Method in interface io.nadron.service.LookupService
Lookup a gamer based on a context key.
PlayerSession - Interface in io.nadron.app
This interface model's a human player's session to nadron.
playerSession - Variable in class io.nadron.handlers.netty.DefaultToServerHandler
The player session associated with this stateful business handler.
playerSessions - Variable in class io.nadron.app.impl.DefaultPlayer
One player can be connected to multiple games at the same time.
policyFile - Static variable in class io.nadron.handlers.netty.FlashPolicyServerHandler
 
pooledFiber() - Static method in class io.nadron.concurrent.Fibers
Creates and starts a fiber and returns the created instance.
pooledFiber(Lane<String, ExecutorService>) - Static method in class io.nadron.concurrent.Fibers
Creates and starts a fiber and returns the created instance.
portNumber - Variable in class io.nadron.handlers.netty.FlashPolicyServerHandler
 
portNumber - Variable in class io.nadron.server.netty.NettyConfig
 
PREVENT_SERIALIZATION_HANDLER - Static variable in class io.nadron.context.AppContext
 
priority - Variable in class io.nadron.concurrent.NamedThreadFactory
 
PROTCOL_VERSION - Static variable in class io.nadron.event.Events
 
protocol - Variable in class io.nadron.app.impl.DefaultPlayerSession.PlayerSessionBuilder
 
protocol(Protocol) - Method in class io.nadron.app.impl.DefaultPlayerSession.PlayerSessionBuilder
 
protocol - Variable in class io.nadron.app.impl.DefaultPlayerSession
This variable holds information about the type of binary communication protocol to be used with this session.
protocol - Variable in class io.nadron.app.impl.GameRoomSession.GameRoomSessionBuilder
 
protocol(Protocol) - Method in class io.nadron.app.impl.GameRoomSession.GameRoomSessionBuilder
 
protocol - Variable in class io.nadron.app.impl.GameRoomSession
Each game room has its own protocol for communication with client.
Protocol - Interface in io.nadron.protocols
This interface defines a protocol that needs to be applied while communicating to the user session object.
PROTOCOL_FACTORY - Static variable in class io.nadron.context.AppContext
 
ProtocolMultiplexerChannelInitializer - Class in io.nadron.server.netty
 
ProtocolMultiplexerChannelInitializer() - Constructor for class io.nadron.server.netty.ProtocolMultiplexerChannelInitializer
 
ProtocolMultiplexerDecoder - Class in io.nadron.handlers.netty
This class can be used to switch login-protocol based on the incoming bytes sent by a client.
ProtocolMultiplexerDecoder(int, LoginProtocol) - Constructor for class io.nadron.handlers.netty.ProtocolMultiplexerDecoder
 
protocolName - Variable in class io.nadron.protocols.AbstractNettyProtocol
The name of the protocol.
protocols - Variable in class io.nadron.handlers.netty.LoginProtocol.CompositeProtocol
 
putSession(String, Session) - Method in class io.nadron.service.impl.ReconnectSessionRegistry
 
putSession(T, Session) - Method in class io.nadron.service.impl.SessionRegistry
 
putSession(T, Session) - Method in interface io.nadron.service.SessionRegistryService
 

R

RandomStringGenerator - Class in io.nadron.util
 
RandomStringGenerator() - Constructor for class io.nadron.util.RandomStringGenerator
 
readableBytes() - Method in interface io.nadron.communication.MessageBuffer
Gets the number of readable bytes left in the buffer.
readableBytes() - Method in class io.nadron.communication.NettyMessageBuffer
 
readByte() - Method in interface io.nadron.communication.MessageBuffer
Read a single signed byte from the current readerIndex position of the buffer.
readByte() - Method in class io.nadron.communication.NettyMessageBuffer
 
readBytes(int) - Method in interface io.nadron.communication.MessageBuffer
 
readBytes(byte[]) - Method in interface io.nadron.communication.MessageBuffer
Transfers this buffer's data to the specified destination starting at the current readerIndex and increases the readerIndex by the number of the transferred bytes (= dst.length).
readBytes(byte[], int, int) - Method in interface io.nadron.communication.MessageBuffer
Transfers this buffer's data to the specified destination starting at the current readerIndex and increases the readerIndex by the number of the transferred bytes (= length).
readBytes(int) - Method in class io.nadron.communication.NettyMessageBuffer
 
readBytes(byte[]) - Method in class io.nadron.communication.NettyMessageBuffer
 
readBytes(byte[], int, int) - Method in class io.nadron.communication.NettyMessageBuffer
 
readChar() - Method in interface io.nadron.communication.MessageBuffer
Gets a 2-byte UTF-16 character at the current readerIndex and increases the readerIndex by 2 in this buffer.
readChar() - Method in class io.nadron.communication.NettyMessageBuffer
 
readDouble() - Method in interface io.nadron.communication.MessageBuffer
Gets a 64-bit floating point number at the current readerIndex and increases the readerIndex by 8 in this buffer.
readDouble() - Method in class io.nadron.communication.NettyMessageBuffer
 
readFloat() - Method in interface io.nadron.communication.MessageBuffer
Gets a 32-bit floating point number at the current readerIndex and increases the readerIndex by 4 in this buffer.
readFloat() - Method in class io.nadron.communication.NettyMessageBuffer
 
readInt() - Method in interface io.nadron.communication.MessageBuffer
Gets a 32-bit integer at the current readerIndex and increases the readerIndex by 4 in this buffer.
readInt() - Method in class io.nadron.communication.NettyMessageBuffer
 
readLong() - Method in interface io.nadron.communication.MessageBuffer
Gets a 64-bit integer at the current readerIndex and increases the readerIndex by 8 in this buffer.
readLong() - Method in class io.nadron.communication.NettyMessageBuffer
 
readMedium() - Method in interface io.nadron.communication.MessageBuffer
Gets a 24-bit medium integer at the current readerIndex and increases the readerIndex by 3 in this buffer.
readMedium() - Method in class io.nadron.communication.NettyMessageBuffer
 
readObject(Transform<T, V>) - Method in interface io.nadron.communication.MessageBuffer
Reads an object from the underlying buffer and transform the bytes using the supplied transformer to any desired object.
readObject(Transform<ByteBuf, V>) - Method in class io.nadron.communication.NettyMessageBuffer
 
readObject(ByteBuf, Transform<ByteBuf, V>) - Static method in class io.nadron.util.NettyUtils
 
readShort() - Method in interface io.nadron.communication.MessageBuffer
Gets a 16-bit short integer at the current readerIndex and increases the readerIndex by 2 in this buffer.
readShort() - Method in class io.nadron.communication.NettyMessageBuffer
 
readSmallFile(String) - Static method in class io.nadron.util.SmallFileReader
 
readSmallFile(File) - Static method in class io.nadron.util.SmallFileReader
 
readSocketAddress(ByteBuf) - Static method in class io.nadron.util.NettyUtils
Read a socket address from a buffer.
readString() - Method in interface io.nadron.communication.MessageBuffer
 
readString() - Method in class io.nadron.communication.NettyMessageBuffer
 
readString(ByteBuf) - Static method in class io.nadron.util.NettyUtils
This method will first read an unsigned short to find the length of the string and then read the actual string based on the length.
readString(ByteBuf, Charset) - Static method in class io.nadron.util.NettyUtils
This method will first read an unsigned short to find the length of the string and then read the actual string based on the length.
readString(ByteBuf, int) - Static method in class io.nadron.util.NettyUtils
Read a string from a channel buffer with the specified length.
readString(ByteBuf, int, Charset) - Static method in class io.nadron.util.NettyUtils
Read a string from a channel buffer with the specified length.
readStrings(int) - Method in interface io.nadron.communication.MessageBuffer
 
readStrings(int) - Method in class io.nadron.communication.NettyMessageBuffer
 
readStrings(ByteBuf, int) - Static method in class io.nadron.util.NettyUtils
This method will read multiple strings of the buffer and return them as a string array.
readStrings(ByteBuf, int, Charset) - Static method in class io.nadron.util.NettyUtils
This method will read multiple strings of the buffer and return them as a string array.
readUnsignedByte() - Method in interface io.nadron.communication.MessageBuffer
Gets an unsigned byte at the current readerIndex and increases the readerIndex by 1 in this buffer.
readUnsignedByte() - Method in class io.nadron.communication.NettyMessageBuffer
 
readUnsignedInt() - Method in interface io.nadron.communication.MessageBuffer
Gets an unsigned 32-bit integer at the current readerIndex and increases the readerIndex by 4 in this buffer.
readUnsignedInt() - Method in class io.nadron.communication.NettyMessageBuffer
 
readUnsignedMedium() - Method in interface io.nadron.communication.MessageBuffer
Gets an unsigned 24-bit medium integer at the current readerIndex and increases the readerIndex by 3 in this buffer.
readUnsignedMedium() - Method in class io.nadron.communication.NettyMessageBuffer
 
readUnsignedShort() - Method in interface io.nadron.communication.MessageBuffer
Gets an unsigned 16-bit short integer at the current readerIndex and increases the readerIndex by 2 in this buffer.
readUnsignedShort() - Method in class io.nadron.communication.NettyMessageBuffer
 
RECONNECT - Static variable in class io.nadron.event.Events
Similar to LOG_IN but parameters are different.
RECONNECT_KEY - Static variable in class io.nadron.util.NadronConfig
 
RECONNECT_REGISTRY - Static variable in class io.nadron.util.NadronConfig
 
reconnectDelay - Variable in class io.nadron.service.impl.ReconnectSessionRegistry
 
reconnectKey - Variable in class io.nadron.service.impl.ReconnectSessionRegistry.ClearSessionTask
 
reconnectRegistry - Variable in class io.nadron.handlers.netty.LoginHandler
 
reconnectRegistry - Variable in class io.nadron.handlers.netty.WebSocketLoginHandler
 
ReconnectSessionRegistry - Class in io.nadron.service.impl
A session registry that will do auto cleanup of the Session after waiting for a specified amount of time for reconnection from remote client.
ReconnectSessionRegistry() - Constructor for class io.nadron.service.impl.ReconnectSessionRegistry
 
ReconnectSessionRegistry.ClearSessionTask - Class in io.nadron.service.impl
 
ReconnectSessionRegistry.ClearSessionTask(String, Map<String, Session>) - Constructor for class io.nadron.service.impl.ReconnectSessionRegistry.ClearSessionTask
 
ReconnetEvent - Class in io.nadron.event.impl
 
ReconnetEvent(MessageSender.Reliable) - Constructor for class io.nadron.event.impl.ReconnetEvent
 
refKeyGameRoomMap - Variable in class io.nadron.service.impl.SimpleLookupService
 
registerGame(Game) - Method in interface io.nadron.service.GameAdminService
Implementation method will internally add this game instance to a set.
registerGame(Game) - Method in class io.nadron.service.impl.SimpleGameAdminService
 
remoteAddress - Variable in class io.nadron.communication.NettyUDPMessageSender
 
removeAttribute(String) - Method in class io.nadron.app.impl.DefaultSession
 
removeAttribute(String) - Method in interface io.nadron.app.Session
 
removeDisposableForHandler(EventHandler) - Method in class io.nadron.event.impl.JetlangEventDispatcher
 
removeHandler(EventHandler) - Method in class io.nadron.app.impl.DefaultSession
 
removeHandler(EventHandler) - Method in interface io.nadron.app.Session
 
removeHandler(EventHandler) - Method in interface io.nadron.event.EventDispatcher
Removes an event handler from the dispatcher
removeHandler(EventHandler) - Method in class io.nadron.event.impl.ExecutorEventDispatcher
 
removeHandler(EventHandler) - Method in class io.nadron.event.impl.JetlangEventDispatcher
 
removeHandlersForEvent(int) - Method in interface io.nadron.event.EventDispatcher
Removes all event listeners associated with the event type.
removeHandlersForEvent(int) - Method in class io.nadron.event.impl.ExecutorEventDispatcher
 
removeHandlersForEvent(int) - Method in class io.nadron.event.impl.JetlangEventDispatcher
 
removeHandlersForSession(Session) - Method in interface io.nadron.event.EventDispatcher
Removes all the handlers for a session.
removeHandlersForSession(Session) - Method in class io.nadron.event.impl.ExecutorEventDispatcher
 
removeHandlersForSession(Session) - Method in class io.nadron.event.impl.JetlangEventDispatcher
 
removeSession(PlayerSession) - Method in class io.nadron.app.impl.DefaultPlayer
 
removeSession(PlayerSession) - Method in interface io.nadron.app.Player
Remove the players session to a game.
removeSession(Object) - Method in class io.nadron.service.impl.SessionRegistry
 
removeSession(T) - Method in interface io.nadron.service.SessionRegistryService
 
requestBuffer - Variable in class io.nadron.handlers.netty.FlashPolicyServerDecoder
 
ROOM_LIST - Static variable in class io.nadron.event.Events
 
run() - Method in class io.nadron.service.impl.ReconnectSessionRegistry.ClearSessionTask
 

S

schedule(Task, long, TimeUnit) - Method in class io.nadron.service.impl.SimpleTaskManagerService
 
schedule(Task, long, TimeUnit) - Method in interface io.nadron.service.TaskManagerService
Creates and executes a one-shot action that becomes enabled after the given delay.
scheduleAtFixedRate(Task, long, long, TimeUnit) - Method in class io.nadron.service.impl.SimpleTaskManagerService
 
scheduleAtFixedRate(Task, long, long, TimeUnit) - Method in interface io.nadron.service.TaskManagerService
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given period; that is executions will commence after initialDelay then initialDelay+period, then initialDelay + 2 * period, and so on.
scheduleWithFixedDelay(Task, long, long, TimeUnit) - Method in class io.nadron.service.impl.SimpleTaskManagerService
 
scheduleWithFixedDelay(Task, long, long, TimeUnit) - Method in interface io.nadron.service.TaskManagerService
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given delay between the termination of one execution and the commencement of the next.
send(Event) - Method in interface io.nadron.app.GameRoom
Used to send an event to the GameRoom.
send(Event) - Method in class io.nadron.app.impl.GameRoomSession
 
send(Runnable) - Method in class io.nadron.concurrent.Agent
 
sendBroadcast(NetworkEvent) - Method in interface io.nadron.app.GameRoom
Method used to send a broadcast message to all sessions in the group.
sendBroadcast(NetworkEvent) - Method in class io.nadron.app.impl.GameRoomSession
 
sendMessage(Object) - Method in interface io.nadron.communication.MessageSender
This method delegates to the underlying native session object to send a message to the client.
sendMessage(Object) - Method in class io.nadron.communication.NettyTCPMessageSender
 
sendMessage(Object) - Method in class io.nadron.communication.NettyUDPMessageSender
 
sendMessage(T) - Method in class io.nadron.concurrent.JetlangActor
 
sendToGameRoom(Event) - Method in class io.nadron.app.impl.DefaultPlayerSession
 
sendToGameRoom(Event) - Method in interface io.nadron.app.PlayerSession
The event to be send to the GameRoom to which the PlayerSession belongs.
SerializationContextProvider - Class in io.nadron.convert.flex
This class provides threadlocal contexts on demand to the serializer and deserializer class.
SerializationContextProvider() - Constructor for class io.nadron.convert.flex.SerializationContextProvider
 
serializedBytes - Variable in class io.nadron.service.impl.GameStateManager
 
serialVersionUID - Static variable in exception io.nadron.app.impl.InvalidCommandException
Eclipse generated serial id.
serialVersionUID - Static variable in class io.nadron.event.impl.ChangeAttributeEvent
 
serialVersionUID - Static variable in class io.nadron.event.impl.DefaultConnectEvent
 
serialVersionUID - Static variable in class io.nadron.event.impl.DefaultEvent
Eclipse Generated serial version id.
serialVersionUID - Static variable in class io.nadron.event.impl.DefaultNetworkEvent
 
serialVersionUID - Static variable in class io.nadron.event.impl.ReconnetEvent
 
Server - Interface in io.nadron.server
 
Server.TRANSMISSION_PROTOCOL - Enum in io.nadron.server
 
Server.TRANSMISSION_PROTOCOL() - Constructor for enum io.nadron.server.Server.TRANSMISSION_PROTOCOL
 
Server.TransmissionProtocol - Interface in io.nadron.server
 
SERVER_MANAGER - Static variable in class io.nadron.context.AppContext
 
serverBootstrap - Variable in class io.nadron.server.netty.NettyTCPServer
 
serverCores - Variable in enum io.nadron.concurrent.Lanes
 
ServerManager - Interface in io.nadron.server
A generic interface used to manage a server.
ServerManagerImpl - Class in io.nadron.server.netty
 
ServerManagerImpl() - Constructor for class io.nadron.server.netty.ServerManagerImpl
 
servers - Variable in class io.nadron.server.netty.ServerManagerImpl
 
SERVICE - Static variable in class io.nadron.concurrent.Fibers
 
Session - Interface in io.nadron.app
 
session - Variable in class io.nadron.event.impl.DefaultEventContext
 
session - Variable in class io.nadron.event.impl.DefaultSessionEventHandler
 
session - Variable in class io.nadron.event.impl.NetworkEventListener
 
session - Variable in class io.nadron.event.impl.SessionMessageHandler
 
Session.Status - Enum in io.nadron.app
session status types
Session.Status() - Constructor for enum io.nadron.app.Session.Status
 
SESSION_MESSAGE - Static variable in class io.nadron.event.Events
Incoming data from another machine/JVM to this JVM (server or client)
SESSION_REGISTRY_SERVICE - Static variable in class io.nadron.context.AppContext
 
sessionAttributes - Variable in class io.nadron.app.impl.DefaultSession
session parameters
sessionAttributes - Variable in class io.nadron.app.impl.DefaultSession.SessionBuilder
 
sessionAttributes(Map<String, Object>) - Method in class io.nadron.app.impl.DefaultSession.SessionBuilder
 
SessionEventHandler - Interface in io.nadron.event
This interface is implemented by event handlers which are listening on messages published to a Session.
sessionFactory - Variable in class io.nadron.app.impl.GameRoomSession.GameRoomSessionBuilder
 
sessionFactory(SessionFactory) - Method in class io.nadron.app.impl.GameRoomSession.GameRoomSessionBuilder
 
sessionFactory - Variable in class io.nadron.app.impl.GameRoomSession
 
SessionFactory - Interface in io.nadron.app
Used to create sessions.
SessionMessageHandler - Class in io.nadron.event.impl
This abstract helper class can be used to quickly create a listener which listens for SESSION_MESSAGE events.
SessionMessageHandler(Session) - Constructor for class io.nadron.event.impl.SessionMessageHandler
 
SessionRegistry<T> - Class in io.nadron.service.impl
 
SessionRegistry() - Constructor for class io.nadron.service.impl.SessionRegistry
 
sessionRegistryService - Variable in class io.nadron.communication.NettyUDPMessageSender
 
SessionRegistryService<T> - Interface in io.nadron.service
 
sessions - Variable in class io.nadron.app.impl.GameRoomSession.GameRoomSessionBuilder
 
sessions(Set<PlayerSession>) - Method in class io.nadron.app.impl.GameRoomSession.GameRoomSessionBuilder
 
sessions - Variable in class io.nadron.app.impl.GameRoomSession
The set of sessions in this object.
Sessions - Class in io.nadron.app.impl
Factory class used to create a PlayerSession instance.
Sessions() - Constructor for class io.nadron.app.impl.Sessions
 
sessions - Variable in class io.nadron.service.impl.ReconnectSessionRegistry.ClearSessionTask
 
sessions - Variable in class io.nadron.service.impl.SessionRegistry
 
setApplicationContext(ApplicationContext) - Method in class io.nadron.context.AppContext
 
setAttachment(Object) - Method in class io.nadron.communication.NettyUDPMessageSender.EventContextImpl
 
setAttachment(Object) - Method in interface io.nadron.event.EventContext
Attaches an object to this context to store a stateful information specific to the Event which is associated with this context.
setAttachment(Object) - Method in class io.nadron.event.impl.DefaultEventContext
 
setAttribute(String, Object) - Method in class io.nadron.app.impl.DefaultSession
 
setAttribute(String, Object) - Method in interface io.nadron.app.Session
 
setBase64Decoder(Base64Decoder) - Method in class io.nadron.protocols.impl.AMF3StringProtocol
 
setBase64Encoder(Base64Encoder) - Method in class io.nadron.protocols.impl.AMF3StringProtocol
 
setBossGroup(NioEventLoopGroup) - Method in class io.nadron.server.netty.NettyConfig
 
setBossThreadCount(int) - Method in class io.nadron.server.netty.NettyConfig
 
setBytesForProtocolCheck(int) - Method in class io.nadron.server.netty.ProtocolMultiplexerChannelInitializer
 
setChannelInitializer(ChannelInitializer<? extends Channel>) - Method in interface io.nadron.server.netty.NettyServer
Method can be used to set the pipeline factory that is to be used by the netty server.
setChannelInitializer(ChannelInitializer<? extends Channel>) - Method in class io.nadron.server.netty.NettyTCPServer
 
setChannelInitializer(ChannelInitializer<? extends Channel>) - Method in class io.nadron.server.netty.NettyUDPServer
 
setChannelOptions(Map<ChannelOption<?>, Object>) - Method in class io.nadron.server.netty.NettyConfig
 
setcName(String) - Method in class io.nadron.event.impl.DefaultEvent
 
setContext(SerializationContext) - Method in class io.nadron.convert.flex.AMFDeSerializer
 
setContext(SerializationContext) - Method in class io.nadron.convert.flex.AMFSerializer
 
setDeliveryGuaranty(DeliveryGuaranty) - Method in class io.nadron.event.impl.DefaultNetworkEvent
 
setDeliveryGuaranty(DeliveryGuaranty) - Method in interface io.nadron.event.NetworkEvent
 
setDisposable(Disposable) - Method in interface io.nadron.event.JetlangDisposable
 
setDisposableHandlerMap(Map<EventHandler, Disposable>) - Method in class io.nadron.event.impl.JetlangEventDispatcher
 
setEmailId(String) - Method in class io.nadron.app.impl.DefaultPlayer
 
setEmailId(String) - Method in interface io.nadron.app.Player
Method used to set the email id of the gamer.
setEventContext(EventContext) - Method in interface io.nadron.event.Event
 
setEventContext(EventContext) - Method in class io.nadron.event.impl.DefaultEvent
 
setEventDecoder(EventDecoder) - Method in class io.nadron.handlers.netty.LoginProtocol.DefaultNadProtocol
 
setEventDecoder(EventDecoder) - Method in class io.nadron.protocols.impl.ChannelBufferProtocol
 
setEventEncoder(EventEncoder) - Method in class io.nadron.protocols.impl.ChannelBufferProtocol
 
setEventName(String) - Method in interface io.nadron.app.GameEvent
 
setEventType(E) - Method in interface io.nadron.app.GameEvent
 
setFactory(SessionFactory) - Method in interface io.nadron.app.GameRoom
 
setFactory(SessionFactory) - Method in class io.nadron.app.impl.GameRoomSession
 
setFrameSize(int) - Method in class io.nadron.handlers.netty.LoginProtocol.DefaultNadProtocol
 
setFrameSize(int) - Method in class io.nadron.protocols.impl.StringProtocol
 
setGameAdminService(GameAdminService) - Method in class io.nadron.server.netty.AbstractNettyServer
 
setGameCommandInterpreter(GameCommandInterpreter) - Method in interface io.nadron.app.Game
Set the interpreter associated with this game.
setGameCommandInterpreter(GameCommandInterpreter) - Method in class io.nadron.app.impl.SimpleGame
 
setGameName(String) - Method in interface io.nadron.app.Game
Set the name of the game.
setGameName(String) - Method in class io.nadron.app.impl.SimpleGame
 
setGameRoom(GameRoom) - Method in interface io.nadron.app.GameStartListener
 
setGameRoom(GameRoom) - Method in class io.nadron.app.impl.DefaultPlayerSession
 
setGameRoom(GameRoom) - Method in interface io.nadron.app.PlayerSession
Method used to set the game room for a particular session.
setGameRoomName(String) - Method in interface io.nadron.app.GameRoom
Sets the name of the game room.
setGameRoomName(String) - Method in class io.nadron.app.impl.GameRoomSession
 
setGames(Collection<Game>) - Method in class io.nadron.service.impl.SimpleGameAdminService
 
setGameStateManagerService(GameStateManagerService) - Method in interface io.nadron.handlers.StateAware
Method used to set the game state manager service on a state aware handler.
setId(Object) - Method in interface io.nadron.app.Game
 
setId(Object) - Method in class io.nadron.app.impl.DefaultPlayer
 
setId(Object) - Method in class io.nadron.app.impl.DefaultSession
 
setId(Object) - Method in class io.nadron.app.impl.SimpleGame
Meant as a database access key.
setId(Object) - Method in interface io.nadron.app.Player
A unique key representing a gamer.
setId(Object) - Method in interface io.nadron.app.Session
 
setId(Object) - Method in interface io.nadron.app.Task
 
setId(Object) - Method in class io.nadron.service.impl.ReconnectSessionRegistry.ClearSessionTask
 
setIdGeneratorService(UniqueIDGeneratorService) - Method in class io.nadron.handlers.netty.LoginHandler
 
setIdGeneratorService(UniqueIDGeneratorService) - Method in class io.nadron.handlers.netty.WebSocketLoginHandler
 
setJackson(ObjectMapper) - Method in class io.nadron.handlers.netty.TextWebsocketDecoder
 
setJackson(ObjectMapper) - Method in class io.nadron.handlers.netty.TextWebsocketEncoder
 
setJackson(ObjectMapper) - Method in class io.nadron.handlers.netty.WebSocketLoginHandler
 
setJavaObjectToAMF3Encoder(JavaObjectToAMF3Encoder) - Method in class io.nadron.protocols.impl.AMF3Protocol
 
setJavaObjectToAMF3Encoder(JavaObjectToAMF3Encoder) - Method in class io.nadron.protocols.impl.AMF3StringProtocol
 
setKey(String) - Method in class io.nadron.event.impl.ChangeAttributeEvent
 
setLastReadWriteTime(long) - Method in class io.nadron.app.impl.DefaultSession
 
setLengthFieldPrepender(LengthFieldPrepender) - Method in class io.nadron.handlers.netty.LoginProtocol.DefaultNadProtocol
 
setLengthFieldPrepender(LengthFieldPrepender) - Method in class io.nadron.protocols.impl.AMF3Protocol
 
setLengthFieldPrepender(LengthFieldPrepender) - Method in class io.nadron.protocols.impl.ChannelBufferProtocol
 
setLengthFieldPrepender(LengthFieldPrepender) - Method in class io.nadron.protocols.impl.MessageBufferProtocol
 
setLengthFieldPrepender(LengthFieldPrepender) - Method in class io.nadron.protocols.impl.NettyObjectProtocol
 
setListenersByEventType(Map<Integer, List<EventHandler>>) - Method in class io.nadron.event.impl.JetlangEventDispatcher
 
setLoginHandler(LoginHandler) - Method in class io.nadron.handlers.netty.LoginProtocol.DefaultNadProtocol
 
setLoginProtocol(LoginProtocol) - Method in class io.nadron.server.netty.ProtocolMultiplexerChannelInitializer
 
setLookupService(LookupService) - Method in class io.nadron.handlers.netty.LoginHandler
 
setLookupService(LookupService) - Method in class io.nadron.handlers.netty.WebSocketLoginHandler
 
setMaxFrameSize(int) - Method in class io.nadron.protocols.impl.AMF3StringProtocol
 
setMessageBufferEventDecoder(MessageBufferEventDecoder) - Method in class io.nadron.handlers.netty.UDPUpstreamHandler
 
setMessageBufferEventDecoder(MessageBufferEventDecoder) - Method in class io.nadron.protocols.impl.MessageBufferProtocol
 
setMessageBufferEventEncoder(MessageBufferEventEncoder) - Method in class io.nadron.protocols.impl.MessageBufferProtocol
 
setName(String) - Method in class io.nadron.app.impl.DefaultPlayer
 
setName(String) - Method in interface io.nadron.app.Player
Method used to set the name of the gamer.
setNulEncoder(NulEncoder) - Method in class io.nadron.protocols.impl.AMF3StringProtocol
 
setNulEncoder(NulEncoder) - Method in class io.nadron.protocols.impl.StringProtocol
 
setOpcode(O) - Method in interface io.nadron.app.GameEvent
 
setParentGame(Game) - Method in interface io.nadron.app.GameRoom
Used to set the parent game object of the game room.
setParentGame(Game) - Method in class io.nadron.app.impl.GameRoomSession
 
setPayload(T) - Method in interface io.nadron.app.GameEvent
 
setPlayerSession(PlayerSession) - Method in interface io.nadron.app.GameEvent
 
setPlayerSessions(Set<PlayerSession>) - Method in class io.nadron.app.impl.DefaultPlayer
 
setPortNumber(int) - Method in class io.nadron.server.netty.NettyConfig
 
setProtocol(Protocol) - Method in interface io.nadron.app.GameRoom
Sets the protocol instance on the game room.
setProtocol(Protocol) - Method in class io.nadron.app.impl.DefaultPlayerSession
 
setProtocol(Protocol) - Method in class io.nadron.app.impl.GameRoomSession
 
setProtocol(Protocol) - Method in interface io.nadron.app.PlayerSession
Set the network protocol on the user session.
setProtocols(List<LoginProtocol>) - Method in class io.nadron.handlers.netty.LoginProtocol.CompositeProtocol
 
setReconnectDelay(int) - Method in class io.nadron.service.impl.ReconnectSessionRegistry
 
setReconnectRegistry(ReconnectSessionRegistry) - Method in class io.nadron.handlers.netty.LoginHandler
 
setReconnectRegistry(ReconnectSessionRegistry) - Method in class io.nadron.handlers.netty.WebSocketLoginHandler
 
setSerializedByteArray(byte[]) - Method in interface io.nadron.service.GameStateManagerService
Whenever serialization is done from Java object to AMF3, or just plain java serialized object, it should be saved in byte array format to the state manager.
setSerializedByteArray(byte[]) - Method in class io.nadron.service.impl.GameStateManager
 
setSession(Session) - Method in class io.nadron.communication.NettyUDPMessageSender.EventContextImpl
 
setSession(Session) - Method in interface io.nadron.event.EventContext
 
setSession(Session) - Method in class io.nadron.event.impl.DefaultEventContext
 
setSession(Session) - Method in class io.nadron.event.impl.DefaultSessionEventHandler
 
setSession(Session) - Method in class io.nadron.event.impl.NetworkEventListener
 
setSession(Session) - Method in class io.nadron.event.impl.SessionMessageHandler
 
setSession(Session) - Method in interface io.nadron.event.SessionEventHandler
Sets the session instance on this handler.
setSessions(Set<PlayerSession>) - Method in interface io.nadron.app.GameRoom
Method used to set the set of user sessions to a particular game room.
setSessions(Set<PlayerSession>) - Method in class io.nadron.app.impl.GameRoomSession
 
setShuttingDown(boolean) - Method in class io.nadron.app.impl.GameRoomSession
 
setSocketAddress(InetSocketAddress) - Method in class io.nadron.server.netty.NettyConfig
 
setSource(Object) - Method in interface io.nadron.event.Event
 
setSource(Object) - Method in class io.nadron.event.impl.DefaultConnectEvent
 
setSource(Object) - Method in class io.nadron.event.impl.DefaultEvent
 
setState(Object) - Method in interface io.nadron.service.GameStateManagerService
Set's current state object.
setState(Object) - Method in class io.nadron.service.impl.GameStateManager
 
setStateManager(GameStateManagerService) - Method in interface io.nadron.app.GameRoom
Method used to set the state manager for a game room.
setStateManager(GameStateManagerService) - Method in class io.nadron.app.impl.GameRoomSession
 
setStatus(Session.Status) - Method in class io.nadron.app.impl.DefaultSession
 
setStatus(Session.Status) - Method in interface io.nadron.app.Session
 
setStringDecoder(StringDecoder) - Method in class io.nadron.protocols.impl.StringProtocol
 
setStringEncoder(StringEncoder) - Method in class io.nadron.protocols.impl.StringProtocol
 
setTaskManagerService(TaskManagerService) - Method in class io.nadron.service.impl.ReconnectSessionRegistry
 
setTcpSender(MessageSender.Reliable) - Method in class io.nadron.app.impl.DefaultSession
 
setTcpSender(MessageSender.Reliable) - Method in interface io.nadron.app.Session
 
setTcpSender(MessageSender.Reliable) - Method in interface io.nadron.event.ConnectEvent
 
setTcpSender(MessageSender.Reliable) - Method in class io.nadron.event.impl.DefaultConnectEvent
 
setTextWebsocketDecoder(TextWebsocketDecoder) - Method in class io.nadron.protocols.impl.WebSocketProtocol
 
setTextWebsocketEncoder(TextWebsocketEncoder) - Method in class io.nadron.protocols.impl.WebSocketProtocol
 
setTimeStamp(long) - Method in interface io.nadron.app.GameEvent
 
setTimeStamp(long) - Method in interface io.nadron.event.Event
 
setTimeStamp(long) - Method in class io.nadron.event.impl.DefaultEvent
 
setType(int) - Method in interface io.nadron.event.Event
 
setType(int) - Method in class io.nadron.event.impl.DefaultConnectEvent
 
setType(int) - Method in class io.nadron.event.impl.DefaultEvent
 
setType(int) - Method in class io.nadron.event.impl.DefaultNetworkEvent
 
setUDPEnabled(boolean) - Method in class io.nadron.app.impl.DefaultSession
 
setUDPEnabled(boolean) - Method in interface io.nadron.app.Session
A session would not have UDP capability when created.
setUdpEventEncoder(UDPEventEncoder) - Method in class io.nadron.server.netty.UDPChannelInitializer
 
setUdpSender(MessageSender.Fast) - Method in class io.nadron.app.impl.DefaultSession
 
setUdpSender(MessageSender.Fast) - Method in interface io.nadron.app.Session
 
setUdpSender(MessageSender.Fast) - Method in interface io.nadron.event.ConnectEvent
 
setUdpSender(MessageSender.Fast) - Method in class io.nadron.event.impl.DefaultConnectEvent
 
setUdpSessionRegistry(SessionRegistryService<SocketAddress>) - Method in class io.nadron.handlers.netty.LoginHandler
 
setUdpSessionRegistry(SessionRegistryService<SocketAddress>) - Method in class io.nadron.handlers.netty.UDPUpstreamHandler
 
setUpstream(UDPUpstreamHandler) - Method in class io.nadron.server.netty.UDPChannelInitializer
 
setValue(Object) - Method in class io.nadron.event.impl.ChangeAttributeEvent
 
setWebSocketLoginHandler(WebSocketLoginHandler) - Method in class io.nadron.handlers.netty.LoginProtocol.HTTPProtocol
 
setWorkerGroup(NioEventLoopGroup) - Method in class io.nadron.server.netty.NettyConfig
 
setWorkerThreadCount(int) - Method in class io.nadron.server.netty.NettyConfig
 
setWriteable(boolean) - Method in class io.nadron.app.impl.DefaultSession
 
setWriteable(boolean) - Method in interface io.nadron.app.Session
 
shutdown() - Method in interface io.nadron.service.GameAdminService
Unloads all the games and game rooms that is stored in the admin services internal set.
shutdown() - Method in class io.nadron.service.impl.SimpleGameAdminService
 
SIMPLE_BYTE_ARRAY_PROTOCOL - Static variable in class io.nadron.context.AppContext
 
SimpleCredentials - Class in io.nadron.util
 
SimpleCredentials(String, String) - Constructor for class io.nadron.util.SimpleCredentials
 
SimpleCredentials(ByteBuf) - Constructor for class io.nadron.util.SimpleCredentials
 
SimpleGame - Class in io.nadron.app.impl
Domain object representing a game.
SimpleGame(Object, String) - Constructor for class io.nadron.app.impl.SimpleGame
 
SimpleGame(Object, String, GameCommandInterpreter) - Constructor for class io.nadron.app.impl.SimpleGame
 
SimpleGameAdminService - Class in io.nadron.service.impl
 
SimpleGameAdminService() - Constructor for class io.nadron.service.impl.SimpleGameAdminService
 
SimpleLookupService - Class in io.nadron.service.impl
The lookup service abstracts away the implementation detail on getting the game objects from the reference key provided by the client.
SimpleLookupService() - Constructor for class io.nadron.service.impl.SimpleLookupService
 
SimpleLookupService(Map<String, GameRoom>) - Constructor for class io.nadron.service.impl.SimpleLookupService
 
SimpleTaskManagerService - Class in io.nadron.service.impl
A thin wrapper on a ScheduledThreadPoolExecutor class.
SimpleTaskManagerService(int) - Constructor for class io.nadron.service.impl.SimpleTaskManagerService
 
SimpleUniqueIdGenerator - Class in io.nadron.service.impl
Uses an atomic long to increment and provide a unique id.
SimpleUniqueIdGenerator() - Constructor for class io.nadron.service.impl.SimpleUniqueIdGenerator
 
SmallFileReader - Class in io.nadron.util
 
SmallFileReader() - Constructor for class io.nadron.util.SmallFileReader
 
socketAddress - Variable in class io.nadron.server.netty.NettyConfig
 
source - Variable in class io.nadron.event.impl.DefaultEvent
 
start(boolean, Properties) - Method in interface io.nadron.app.GameStartListener
The "public static void main" for each game instance( a game instance would actually take place in a game room).
start() - Method in class io.nadron.concurrent.JetlangActor
 
START - Static variable in class io.nadron.event.Events
Event sent from server to client to start message sending from client to server.
startServer(int) - Method in class io.nadron.server.netty.AbstractNettyServer
 
startServer(InetSocketAddress) - Method in class io.nadron.server.netty.AbstractNettyServer
 
startServer() - Method in class io.nadron.server.netty.NettyTCPServer
 
startServer() - Method in class io.nadron.server.netty.NettyUDPServer
 
startServer() - Method in interface io.nadron.server.Server
 
startServer(int) - Method in interface io.nadron.server.Server
 
startServer(InetSocketAddress) - Method in interface io.nadron.server.Server
 
startServers(int, int, int) - Method in class io.nadron.server.netty.ServerManagerImpl
 
startServers() - Method in class io.nadron.server.netty.ServerManagerImpl
 
startServers(int, int, int) - Method in interface io.nadron.server.ServerManager
 
startServers() - Method in interface io.nadron.server.ServerManager
 
state - Variable in class io.nadron.service.impl.GameStateManager
 
StateAware - Interface in io.nadron.handlers
Some handlers need to know the game state.
stateManager - Variable in class io.nadron.app.impl.GameRoomSession.GameRoomSessionBuilder
 
stateManager(GameStateManagerService) - Method in class io.nadron.app.impl.GameRoomSession.GameRoomSessionBuilder
 
stateManager - Variable in class io.nadron.app.impl.GameRoomSession
Each game room has separate state manager instances.
status - Variable in class io.nadron.app.impl.DefaultSession.SessionBuilder
 
status(Session.Status) - Method in class io.nadron.app.impl.DefaultSession.SessionBuilder
 
status - Variable in class io.nadron.app.impl.DefaultSession
 
STOP - Static variable in class io.nadron.event.Events
Event sent from server to client to stop messages from being sent to server.
stopServer() - Method in class io.nadron.server.netty.AbstractNettyServer
 
stopServer() - Method in interface io.nadron.server.Server
 
stopServers() - Method in class io.nadron.server.netty.ServerManagerImpl
 
stopServers() - Method in interface io.nadron.server.ServerManager
Used to stop the server and manage cleanup of resources.
STRING_DECODER - Static variable in class io.nadron.context.AppContext
 
STRING_ENCODER - Static variable in class io.nadron.context.AppContext
 
STRING_PROTOCOL - Static variable in class io.nadron.context.AppContext
 
stringDecoder - Variable in class io.nadron.protocols.impl.StringProtocol
Used to decode a netty ByteBuf (actually a byte array) to a string.
stringEncoder - Variable in class io.nadron.protocols.impl.StringProtocol
Used to encode a normal java String to a netty ByteBuf (actually a byte array).
StringProtocol - Class in io.nadron.protocols.impl
 
StringProtocol() - Constructor for class io.nadron.protocols.impl.StringProtocol
 
StringProtocol(int, NulEncoder, StringDecoder, StringEncoder) - Constructor for class io.nadron.protocols.impl.StringProtocol
 
SYNC_ID_HEADER_ENCODER - Static variable in class io.nadron.context.AppContext
 
syncKey - Variable in class io.nadron.service.impl.GameStateManager
 

T

Task - Interface in io.nadron.app
Represents a task that can be executed in the game system.
TASK_MANAGER_SERVICE - Static variable in class io.nadron.context.AppContext
 
taskManagerService - Variable in class io.nadron.service.impl.ReconnectSessionRegistry
 
TaskManagerService - Interface in io.nadron.service
Defines and interface for management of tasks in the server.
taskNum - Variable in class io.nadron.service.impl.SimpleTaskManagerService
Used to create a unique identifier for each task
TCP_SERVER - Static variable in class io.nadron.context.AppContext
 
tcpSender - Variable in class io.nadron.app.impl.DefaultSession
 
tcpSender - Variable in class io.nadron.event.impl.DefaultConnectEvent
 
TextWebsocketDecoder - Class in io.nadron.handlers.netty
This class will convert an incoming TextWebSocketFrame to an Event.
TextWebsocketDecoder() - Constructor for class io.nadron.handlers.netty.TextWebsocketDecoder
 
textWebsocketDecoder - Variable in class io.nadron.protocols.impl.WebSocketProtocol
Used to decode incoming JSon string objects to Event objects.
TextWebsocketEncoder - Class in io.nadron.handlers.netty
This encoder will convert an incoming object (mostly expected to be an Event object) to a TextWebSocketFrame object.
TextWebsocketEncoder() - Constructor for class io.nadron.handlers.netty.TextWebsocketEncoder
 
textWebsocketEncoder - Variable in class io.nadron.protocols.impl.WebSocketProtocol
Used to encode the outgoing Event objects to JSon string representation.
threadFiber() - Static method in class io.nadron.concurrent.Fibers
 
timeStamp - Variable in class io.nadron.event.impl.DefaultEvent
 
toAmf(T) - Method in class io.nadron.convert.flex.AMFSerializer
Method used to convert the java object to AMF3 format.
toString() - Method in class io.nadron.app.impl.DefaultPlayerSession
 
toString() - Method in class io.nadron.communication.NettyTCPMessageSender
 
toString() - Method in class io.nadron.communication.NettyUDPMessageSender
 
toString() - Method in class io.nadron.event.impl.ChangeAttributeEvent
 
toString() - Method in class io.nadron.event.impl.DefaultEvent
 
toString() - Method in class io.nadron.server.netty.AbstractNettyServer
 
toString() - Method in class io.nadron.server.netty.NettyTCPServer
 
toString() - Method in class io.nadron.server.netty.NettyUDPServer
 
toString() - Method in class io.nadron.util.SimpleCredentials
 
Transform<T,V> - Interface in io.nadron.convert
A generic interface for transforming one object to another.
type - Variable in class io.nadron.event.impl.DefaultEvent
 

U

UDP_CONNECTING - Static variable in class io.nadron.handlers.netty.UDPUpstreamHandler
 
UDP_SERVER - Static variable in class io.nadron.context.AppContext
 
UDP_UPSTREAM_HANDLER - Static variable in class io.nadron.context.AppContext
 
UDPChannelInitializer - Class in io.nadron.server.netty
 
UDPChannelInitializer() - Constructor for class io.nadron.server.netty.UDPChannelInitializer
 
UDPChannelInitializer(UDPUpstreamHandler) - Constructor for class io.nadron.server.netty.UDPChannelInitializer
 
UDPEventEncoder - Class in io.nadron.handlers.netty
 
UDPEventEncoder() - Constructor for class io.nadron.handlers.netty.UDPEventEncoder
 
udpEventEncoder - Variable in class io.nadron.server.netty.UDPChannelInitializer
 
udpSender - Variable in class io.nadron.app.impl.DefaultSession
 
udpSender - Variable in class io.nadron.event.impl.DefaultConnectEvent
 
udpSessionRegistry - Variable in class io.nadron.handlers.netty.LoginHandler
 
udpSessionRegistry - Variable in class io.nadron.handlers.netty.UDPUpstreamHandler
 
UDPUpstreamHandler - Class in io.nadron.handlers.netty
 
UDPUpstreamHandler() - Constructor for class io.nadron.handlers.netty.UDPUpstreamHandler
 
UniqueIDGeneratorService - Interface in io.nadron.service
This class is used to generate unique id's across the network.
unload() - Method in interface io.nadron.app.Game
Unloads the current game, by closing all sessions.
unload() - Method in class io.nadron.app.impl.SimpleGame
 
unLoadGame(long, String) - Method in interface io.nadron.service.GameAdminService
Unloads a game based on the game id OR game name.
unLoadGame(Game) - Method in interface io.nadron.service.GameAdminService
Unloads a game based on the game instance passed in.
unLoadGame(long, String) - Method in class io.nadron.service.impl.SimpleGameAdminService
 
unLoadGame(Game) - Method in class io.nadron.service.impl.SimpleGameAdminService
 
unloadGameRoom(GameRoom) - Method in interface io.nadron.service.GameAdminService
Unloads a game room based on the game room instance passed in.
unloadGameRoom(Game, long) - Method in interface io.nadron.service.GameAdminService
Unloads a game room of a game based on the instance of the game, the unique identifier of the game room or the string game room name.
unloadGameRoom(Game, String) - Method in interface io.nadron.service.GameAdminService
Unloads a game room of a game based on the instance of the game and the name of the game room.
unloadGameRoom(GameRoom) - Method in class io.nadron.service.impl.SimpleGameAdminService
 
unloadGameRoom(Game, long) - Method in class io.nadron.service.impl.SimpleGameAdminService
 
unloadGameRoom(Game, String) - Method in class io.nadron.service.impl.SimpleGameAdminService
 
upstream - Variable in class io.nadron.server.netty.UDPChannelInitializer
 
userEventTriggered(ChannelHandlerContext, Object) - Method in class io.nadron.handlers.netty.DefaultToServerHandler
 
username - Variable in class io.nadron.util.SimpleCredentials
 

V

val - Variable in class io.nadron.concurrent.DataFlowVariable
 
validateAndSetValues() - Method in class io.nadron.app.impl.DefaultPlayerSession.PlayerSessionBuilder
 
validateAndSetValues() - Method in class io.nadron.app.impl.DefaultSession.SessionBuilder
This method is used to validate and set the variables to default values if they are not already set before calling build.
validateAndSetValues() - Method in class io.nadron.app.impl.GameRoomSession.GameRoomSessionBuilder
 
value - Variable in class io.nadron.event.impl.ChangeAttributeEvent
 
valueOf(String) - Static method in enum io.nadron.app.Session.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.nadron.communication.DeliveryGuaranty.DeliveryGuarantyOptions
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.nadron.concurrent.Lanes
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.nadron.concurrent.LaneStrategy.LaneStrategies
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.nadron.server.Server.TRANSMISSION_PROTOCOL
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.nadron.app.Session.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.nadron.communication.DeliveryGuaranty.DeliveryGuarantyOptions
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.nadron.concurrent.Lanes
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.nadron.concurrent.LaneStrategy.LaneStrategies
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.nadron.server.Server.TRANSMISSION_PROTOCOL
Returns an array containing the constants of this enum type, in the order they are declared.

W

webSocketLoginHandler - Variable in class io.nadron.handlers.netty.LoginProtocol.HTTPProtocol
 
WebSocketLoginHandler - Class in io.nadron.handlers.netty
This login handler will parse incoming login events to get the Credentials and lookup Player and GameRoom objects.
WebSocketLoginHandler() - Constructor for class io.nadron.handlers.netty.WebSocketLoginHandler
 
WebSocketProtocol - Class in io.nadron.protocols.impl
This protocol can be used for websocket clients which pass JSon objects as text over the wire.
WebSocketProtocol() - Constructor for class io.nadron.protocols.impl.WebSocketProtocol
 
workerGroup - Variable in class io.nadron.server.netty.NettyConfig
 
workerThreadCount - Variable in class io.nadron.server.netty.NettyConfig
 
writeByte(byte) - Method in interface io.nadron.communication.MessageBuffer
 
writeByte(byte) - Method in class io.nadron.communication.NettyMessageBuffer
 
writeBytes(byte[]) - Method in interface io.nadron.communication.MessageBuffer
Transfers the specified source array's data to this buffer starting at the current writerIndex and increases the writerIndex by the number of the transferred bytes (= src.length).
writeBytes(byte[]) - Method in class io.nadron.communication.NettyMessageBuffer
 
writeChar(int) - Method in interface io.nadron.communication.MessageBuffer
Sets the specified 2-byte UTF-16 character at the current writerIndex and increases the writerIndex by 2 in this buffer.
writeChar(int) - Method in class io.nadron.communication.NettyMessageBuffer
 
writeDouble(double) - Method in interface io.nadron.communication.MessageBuffer
Sets the specified 64-bit floating point number at the current writerIndex and increases the writerIndex by 8 in this buffer.
writeDouble(double) - Method in class io.nadron.communication.NettyMessageBuffer
 
writeFloat(float) - Method in interface io.nadron.communication.MessageBuffer
Sets the specified 32-bit floating point number at the current writerIndex and increases the writerIndex by 4 in this buffer.
writeFloat(float) - Method in class io.nadron.communication.NettyMessageBuffer
 
writeInt(int) - Method in interface io.nadron.communication.MessageBuffer
Sets the specified 32-bit integer at the current writerIndex and increases the writerIndex by 4 in this buffer.
writeInt(int) - Method in class io.nadron.communication.NettyMessageBuffer
 
writeLong(long) - Method in interface io.nadron.communication.MessageBuffer
Sets the specified 64-bit long integer at the current writerIndex and increases the writerIndex by 8 in this buffer.
writeLong(long) - Method in class io.nadron.communication.NettyMessageBuffer
 
writeMedium(int) - Method in interface io.nadron.communication.MessageBuffer
Sets the specified 24-bit medium integer at the current writerIndex and increases the writerIndex by 3 in this buffer.
writeMedium(int) - Method in class io.nadron.communication.NettyMessageBuffer
 
writeObject(Transform<V, T>, V) - Method in interface io.nadron.communication.MessageBuffer
Most implementations will write an object to the underlying buffer after converting the incoming object using the transformer into a byte array.
writeObject(Transform<V, ByteBuf>, V) - Method in class io.nadron.communication.NettyMessageBuffer
 
writeObject(Transform<V, ByteBuf>, V) - Static method in class io.nadron.util.NettyUtils
 
writeShort(int) - Method in interface io.nadron.communication.MessageBuffer
Sets the specified 16-bit short integer at the current writerIndex and increases the writerIndex by 2 in this buffer.
writeShort(int) - Method in class io.nadron.communication.NettyMessageBuffer
 
writeSocketAddress(InetSocketAddress) - Static method in class io.nadron.util.NettyUtils
 
writeString(String) - Method in interface io.nadron.communication.MessageBuffer
 
writeString(String) - Method in class io.nadron.communication.NettyMessageBuffer
 
writeString(String) - Static method in class io.nadron.util.NettyUtils
Creates a channel buffer of which the first 2 bytes contain the length of the string in bytes and the remaining is the actual string in binary UTF-8 format.
writeString(String, Charset) - Static method in class io.nadron.util.NettyUtils
Creates a channel buffer of which the first 2 bytes contain the length of the string in bytes and the remaining is the actual string in binary with specified format.
writeStrings(String...) - Method in interface io.nadron.communication.MessageBuffer
 
writeStrings(String...) - Method in class io.nadron.communication.NettyMessageBuffer
 
writeStrings(String...) - Static method in class io.nadron.util.NettyUtils
Writes multiple strings to a ByteBuf with the length of the string preceding its content.
writeStrings(Charset, String...) - Static method in class io.nadron.util.NettyUtils
Writes multiple strings to a ByteBuf with the length of the string preceding its content.
A B C D E F G H I J K L M N O P R S T U V W 

Copyright © 2013. All Rights Reserved.