- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- generateFor(Class) - Method in class io.nadron.service.impl.SimpleUniqueIdGenerator
-
- generateFor(Class) - Method in interface io.nadron.service.UniqueIDGeneratorService
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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.
- webSocketLoginHandler - Variable in class io.nadron.handlers.netty.LoginProtocol.HTTPProtocol
-
- WebSocketLoginHandler - Class in io.nadron.handlers.netty
-
- 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.