Download java game server Free Java Code

Description

Jetserver is a high speed nio socket based multiplayer java game server written using Netty and Mike Rettig's Jetlang.It is specifically tuned for network based multiplayer games and supports TCP and UDP network protocols.

Source Files

The download file java-game-server-master.zip has the following entries.


README.md//from   w w  w  . j  ava 2 s.c  o m
example-games/.classpath
example-games/.gitignore
example-games/.project
example-games/.springBeans
example-games/GameServerLog4j.properties
example-games/README.md
example-games/build.xml
example-games/pom.xml
example-games/src/main/java/org/menacheri/GameServer.java
example-games/src/main/java/org/menacheri/zombie/domain/Defender.java
example-games/src/main/java/org/menacheri/zombie/domain/IAM.java
example-games/src/main/java/org/menacheri/zombie/domain/World.java
example-games/src/main/java/org/menacheri/zombie/domain/WorldMonitor.java
example-games/src/main/java/org/menacheri/zombie/domain/Zombie.java
example-games/src/main/java/org/menacheri/zombie/domain/ZombieCommands.java
example-games/src/main/java/org/menacheri/zombie/game/Messages.java
example-games/src/main/java/org/menacheri/zombie/game/SessionHandler.java
example-games/src/main/java/org/menacheri/zombie/game/ZombieRoom.java
example-games/src/main/java/org/menacheri/zombie/game/ZombieSpringConfig.java
example-games/src/main/resources/beans/beans.xml
example-games/src/test/java/org/menacheri/zombie/DefenderHandler.java
example-games/src/test/java/org/menacheri/zombie/PipelineFactory.java
example-games/src/test/java/org/menacheri/zombie/TimerCanceller.java
example-games/src/test/java/org/menacheri/zombie/UDPClient.java
example-games/src/test/java/org/menacheri/zombie/WriteByte.java
example-games/src/test/java/org/menacheri/zombie/ZombieClient.java
example-games/src/test/java/org/menacheri/zombie/ZombieHandler.java
example-games/src/test/java/org/menacheri/zombieclient/GamePlay.java
example-games/src/test/java/org/menacheri/zombieclient/ReconnectionTest.java
example-games/src/test/java/org/menacheri/zombieclient/ZombieJetclient.java
jetclient-as3/.gitignore
jetclient-as3/README.md
jetclient-as3/pom.xml
jetclient-as3/src/main/flex/org/menacheri/Main.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/JetClient.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/app/Session.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/app/impl/DefaultSession.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/app/impl/SessionFactory.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/codecs/CodecChain.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/codecs/InAndOutCodecChain.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/codecs/Transform.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/codecs/impl/AMFDeserializer.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/codecs/impl/AMFSerializer.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/codecs/impl/DefaultCodecChain.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/codecs/impl/LengthFieldBasedFrameDecoder.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/codecs/impl/LengthFieldPrepender.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/codecs/impl/LoginInOutCodecs.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/codecs/impl/MessagBufferEventDecoder.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/codecs/impl/MessageBufferEventEncoder.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/communication/DefaultMessageSender.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/communication/MessageBuffer.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/communication/MessageSender.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/event/Events.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/event/JetEvent.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/event/impl/DefaultEvent.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/handlers/LoginHandler.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/protocol/Protocol.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/protocol/impl/AMF3Protocol.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/protocol/impl/MessageBufferProtocol.as
jetclient-as3/src/main/flex/org/menacheri/jetclient/util/LoginHelper.as
jetclient-js/README.md
jetclient-js/src/jet-0.1.js
jetclient-js/test/jetclient.html
jetclient/.classpath
jetclient/.gitignore
jetclient/.project
jetclient/README.md
jetclient/binaries/jetclient-0.1-javadoc.jar
jetclient/binaries/jetclient-0.1-sources.jar
jetclient/binaries/jetclient-0.1.jar
jetclient/pom.xml
jetclient/src/main/java/org/menacheri/convert/Transform.java
jetclient/src/main/java/org/menacheri/jetclient/NettyTCPClient.java
jetclient/src/main/java/org/menacheri/jetclient/NettyUDPClient.java
jetclient/src/main/java/org/menacheri/jetclient/app/Game.java
jetclient/src/main/java/org/menacheri/jetclient/app/Player.java
jetclient/src/main/java/org/menacheri/jetclient/app/PlayerSession.java
jetclient/src/main/java/org/menacheri/jetclient/app/Session.java
jetclient/src/main/java/org/menacheri/jetclient/app/impl/DefaultPlayer.java
jetclient/src/main/java/org/menacheri/jetclient/app/impl/DefaultPlayerSession.java
jetclient/src/main/java/org/menacheri/jetclient/app/impl/DefaultSession.java
jetclient/src/main/java/org/menacheri/jetclient/app/impl/SessionFactory.java
jetclient/src/main/java/org/menacheri/jetclient/app/impl/SimpleGame.java
jetclient/src/main/java/org/menacheri/jetclient/communication/DeliveryGuaranty.java
jetclient/src/main/java/org/menacheri/jetclient/communication/MessageBuffer.java
jetclient/src/main/java/org/menacheri/jetclient/communication/MessageSender.java
jetclient/src/main/java/org/menacheri/jetclient/communication/NettyMessageBuffer.java
jetclient/src/main/java/org/menacheri/jetclient/communication/NettyTCPMessageSender.java
jetclient/src/main/java/org/menacheri/jetclient/communication/NettyUDPMessageSender.java
jetclient/src/main/java/org/menacheri/jetclient/communication/ReconnectPolicy.java
jetclient/src/main/java/org/menacheri/jetclient/event/Event.java
jetclient/src/main/java/org/menacheri/jetclient/event/EventDispatcher.java
jetclient/src/main/java/org/menacheri/jetclient/event/EventHandler.java
jetclient/src/main/java/org/menacheri/jetclient/event/Events.java
jetclient/src/main/java/org/menacheri/jetclient/event/NetworkEvent.java
jetclient/src/main/java/org/menacheri/jetclient/event/SessionEventHandler.java
jetclient/src/main/java/org/menacheri/jetclient/event/impl/AbstractSessionEventHandler.java
jetclient/src/main/java/org/menacheri/jetclient/event/impl/ChangeAttributeEvent.java
jetclient/src/main/java/org/menacheri/jetclient/event/impl/DefaultEvent.java
jetclient/src/main/java/org/menacheri/jetclient/event/impl/DefaultEventDispatcher.java
jetclient/src/main/java/org/menacheri/jetclient/event/impl/DefaultNetworkEvent.java
jetclient/src/main/java/org/menacheri/jetclient/handlers/netty/DefaultToClientHandler.java
jetclient/src/main/java/org/menacheri/jetclient/handlers/netty/ExecutionHandlerSingleton.java
jetclient/src/main/java/org/menacheri/jetclient/handlers/netty/MessageBufferEventDecoder.java
jetclient/src/main/java/org/menacheri/jetclient/handlers/netty/MessageBufferEventEncoder.java
jetclient/src/main/java/org/menacheri/jetclient/handlers/netty/TCPPipelineFactory.java
jetclient/src/main/java/org/menacheri/jetclient/handlers/netty/UDPPipelineFactory.java
jetclient/src/main/java/org/menacheri/jetclient/handlers/netty/UDPUpstreamHandler.java
jetclient/src/main/java/org/menacheri/jetclient/util/Config.java
jetclient/src/main/java/org/menacheri/jetclient/util/Credentials.java
jetclient/src/main/java/org/menacheri/jetclient/util/LoginHelper.java
jetclient/src/main/java/org/menacheri/jetclient/util/NettyUtils.java
jetclient/src/main/java/org/menacheri/jetclient/util/SimpleCredentials.java
jetclient/src/test/java/org/menacheri/TestClass.java
jetclient/src/test/java/org/menacheri/jetclient/event/impl/EventDispatcherTest.java
jetserver/.classpath
jetserver/.gitignore
jetserver/.project
jetserver/.springBeans
jetserver/JetServerLog4j.properties
jetserver/binaries/jetserver-0.1-javadoc.jar
jetserver/binaries/jetserver-0.1-sources.jar
jetserver/binaries/jetserver-0.1.jar
jetserver/build.xml
jetserver/lib/aopalliance-1.0.jar
jetserver/lib/backport-util-concurrent-3.1.jar
jetserver/lib/blazeds-common-3.2.0.3978.jar
jetserver/lib/blazeds-core-3.2.0.3978.jar
jetserver/lib/gson-2.2.2.jar
jetserver/lib/jcl-over-slf4j-1.7.2.jar
jetserver/lib/jetlang-0.2.9.jar
jetserver/lib/log4j-1.2.16.jar
jetserver/lib/netty-3.6.2.Final.jar
jetserver/lib/slf4j-api-1.6.1.jar
jetserver/lib/slf4j-log4j12-1.6.1.jar
jetserver/lib/spring-aop-3.2.2.RELEASE.jar
jetserver/lib/spring-beans-3.2.2.RELEASE.jar
jetserver/lib/spring-context-3.2.2.RELEASE.jar
jetserver/lib/spring-core-3.2.2.RELEASE.jar
jetserver/lib/spring-expression-3.2.2.RELEASE.jar
jetserver/pom.xml
jetserver/src/main/java/org/menacheri/jetserver/app/Game.java
jetserver/src/main/java/org/menacheri/jetserver/app/GameCommandInterpreter.java
jetserver/src/main/java/org/menacheri/jetserver/app/GameEvent.java
jetserver/src/main/java/org/menacheri/jetserver/app/GameRoom.java
jetserver/src/main/java/org/menacheri/jetserver/app/GameStartListener.java
jetserver/src/main/java/org/menacheri/jetserver/app/Player.java
jetserver/src/main/java/org/menacheri/jetserver/app/PlayerSession.java
jetserver/src/main/java/org/menacheri/jetserver/app/Session.java
jetserver/src/main/java/org/menacheri/jetserver/app/Task.java
jetserver/src/main/java/org/menacheri/jetserver/app/impl/DefaultPlayer.java
jetserver/src/main/java/org/menacheri/jetserver/app/impl/DefaultPlayerSession.java
jetserver/src/main/java/org/menacheri/jetserver/app/impl/DefaultSession.java
jetserver/src/main/java/org/menacheri/jetserver/app/impl/GameRoomSession.java
jetserver/src/main/java/org/menacheri/jetserver/app/impl/InvalidCommandException.java
jetserver/src/main/java/org/menacheri/jetserver/app/impl/Sessions.java
jetserver/src/main/java/org/menacheri/jetserver/app/impl/SimpleGame.java
jetserver/src/main/java/org/menacheri/jetserver/communication/DeliveryGuaranty.java
jetserver/src/main/java/org/menacheri/jetserver/communication/MessageBuffer.java
jetserver/src/main/java/org/menacheri/jetserver/communication/MessageSender.java
jetserver/src/main/java/org/menacheri/jetserver/communication/NettyMessageBuffer.java
jetserver/src/main/java/org/menacheri/jetserver/communication/NettyTCPMessageSender.java
jetserver/src/main/java/org/menacheri/jetserver/communication/NettyUDPMessageSender.java
jetserver/src/main/java/org/menacheri/jetserver/concurrent/Agent.java
jetserver/src/main/java/org/menacheri/jetserver/concurrent/DataFlowVariable.java
jetserver/src/main/java/org/menacheri/jetserver/concurrent/DefaultLane.java
jetserver/src/main/java/org/menacheri/jetserver/concurrent/Fibers.java
jetserver/src/main/java/org/menacheri/jetserver/concurrent/JetlangActor.java
jetserver/src/main/java/org/menacheri/jetserver/concurrent/Lane.java
jetserver/src/main/java/org/menacheri/jetserver/concurrent/LaneStrategy.java
jetserver/src/main/java/org/menacheri/jetserver/concurrent/Lanes.java
jetserver/src/main/java/org/menacheri/jetserver/concurrent/ManagedExecutor.java
jetserver/src/main/java/org/menacheri/jetserver/concurrent/NamedThreadFactory.java
jetserver/src/main/java/org/menacheri/jetserver/context/AppContext.java
jetserver/src/main/java/org/menacheri/jetserver/convert/Transform.java
jetserver/src/main/java/org/menacheri/jetserver/convert/flex/AMFDeSerializer.java
jetserver/src/main/java/org/menacheri/jetserver/convert/flex/AMFSerializer.java
jetserver/src/main/java/org/menacheri/jetserver/convert/flex/SerializationContextProvider.java
jetserver/src/main/java/org/menacheri/jetserver/event/AbstractEventHandler.java
jetserver/src/main/java/org/menacheri/jetserver/event/ConnectEvent.java
jetserver/src/main/java/org/menacheri/jetserver/event/Event.java
jetserver/src/main/java/org/menacheri/jetserver/event/EventContext.java
jetserver/src/main/java/org/menacheri/jetserver/event/EventDispatcher.java
jetserver/src/main/java/org/menacheri/jetserver/event/EventHandler.java
jetserver/src/main/java/org/menacheri/jetserver/event/Events.java
jetserver/src/main/java/org/menacheri/jetserver/event/JetlangDisposable.java
jetserver/src/main/java/org/menacheri/jetserver/event/NetworkEvent.java
jetserver/src/main/java/org/menacheri/jetserver/event/SessionEventHandler.java
jetserver/src/main/java/org/menacheri/jetserver/event/impl/ChangeAttributeEvent.java
jetserver/src/main/java/org/menacheri/jetserver/event/impl/DefaultConnectEvent.java
jetserver/src/main/java/org/menacheri/jetserver/event/impl/DefaultEvent.java
jetserver/src/main/java/org/menacheri/jetserver/event/impl/DefaultEventContext.java
jetserver/src/main/java/org/menacheri/jetserver/event/impl/DefaultNetworkEvent.java
jetserver/src/main/java/org/menacheri/jetserver/event/impl/DefaultSessionEventHandler.java
jetserver/src/main/java/org/menacheri/jetserver/event/impl/EventDispatchers.java
jetserver/src/main/java/org/menacheri/jetserver/event/impl/ExceptionEventHandler.java
jetserver/src/main/java/org/menacheri/jetserver/event/impl/ExecutorEventDispatcher.java
jetserver/src/main/java/org/menacheri/jetserver/event/impl/JetlangEventDispatcher.java
jetserver/src/main/java/org/menacheri/jetserver/event/impl/NetworkEventListener.java
jetserver/src/main/java/org/menacheri/jetserver/event/impl/ReconnetEvent.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/StateAware.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/AMF3ToEventSourceDecoder.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/AMF3ToJavaObjectDecoder.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/ByteArrayDecoder.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/ByteArrayStreamDecoder.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/ByteArrayToChannelBufferEncoder.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/DefaultToServerHandler.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/EventDecoder.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/EventEncoder.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/EventSourceToAMF3Encoder.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/FlashPolicyServerDecoder.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/FlashPolicyServerHandler.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/IdleStateCheckHandler.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/JavaObjectToAMF3Encoder.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/LoginHandler.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/LoginProtocol.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/MessageBufferEventDecoder.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/MessageBufferEventEncoder.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/NulEncoder.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/ProtocolMultiplexerDecoder.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/TextWebsocketDecoder.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/TextWebsocketEncoder.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/UDPUpstreamHandler.java
jetserver/src/main/java/org/menacheri/jetserver/handlers/netty/WebSocketLoginHandler.java
jetserver/src/main/java/org/menacheri/jetserver/protocols/AbstractNettyProtocol.java
jetserver/src/main/java/org/menacheri/jetserver/protocols/Protocol.java
jetserver/src/main/java/org/menacheri/jetserver/protocols/impl/AMF3Protocol.java
jetserver/src/main/java/org/menacheri/jetserver/protocols/impl/AMF3StringProtocol.java
jetserver/src/main/java/org/menacheri/jetserver/protocols/impl/ChannelBufferProtocol.java
jetserver/src/main/java/org/menacheri/jetserver/protocols/impl/MessageBufferProtocol.java
jetserver/src/main/java/org/menacheri/jetserver/protocols/impl/SimpleByteArrayProtocol.java
jetserver/src/main/java/org/menacheri/jetserver/protocols/impl/SimpleSgsProtocolConstants.java
jetserver/src/main/java/org/menacheri/jetserver/protocols/impl/StringProtocol.java
jetserver/src/main/java/org/menacheri/jetserver/protocols/impl/WebSocketProtocol.java
jetserver/src/main/java/org/menacheri/jetserver/server/Server.java
jetserver/src/main/java/org/menacheri/jetserver/server/ServerManager.java
jetserver/src/main/java/org/menacheri/jetserver/server/netty/AbstractNettyServer.java
jetserver/src/main/java/org/menacheri/jetserver/server/netty/FlashPolicyServer.java
jetserver/src/main/java/org/menacheri/jetserver/server/netty/FlashPolicyServerPipelineFactory.java
jetserver/src/main/java/org/menacheri/jetserver/server/netty/LoginPipelineFactory.java
jetserver/src/main/java/org/menacheri/jetserver/server/netty/NettyServer.java
jetserver/src/main/java/org/menacheri/jetserver/server/netty/NettyTCPServer.java
jetserver/src/main/java/org/menacheri/jetserver/server/netty/NettyUDPServer.java
jetserver/src/main/java/org/menacheri/jetserver/server/netty/ProtocolMultiplexerPipelineFactory.java
jetserver/src/main/java/org/menacheri/jetserver/server/netty/ServerManagerImpl.java
jetserver/src/main/java/org/menacheri/jetserver/server/netty/UDPChannelPipelineFactory.java
jetserver/src/main/java/org/menacheri/jetserver/service/GameAdminService.java
jetserver/src/main/java/org/menacheri/jetserver/service/GameStateManagerService.java
jetserver/src/main/java/org/menacheri/jetserver/service/LookupService.java
jetserver/src/main/java/org/menacheri/jetserver/service/SessionRegistryService.java
jetserver/src/main/java/org/menacheri/jetserver/service/TaskManagerService.java
jetserver/src/main/java/org/menacheri/jetserver/service/UniqueIDGeneratorService.java
jetserver/src/main/java/org/menacheri/jetserver/service/impl/GameStateManager.java
jetserver/src/main/java/org/menacheri/jetserver/service/impl/ReconnectSessionRegistry.java
jetserver/src/main/java/org/menacheri/jetserver/service/impl/SessionRegistry.java
jetserver/src/main/java/org/menacheri/jetserver/service/impl/SimpleGameAdminService.java
jetserver/src/main/java/org/menacheri/jetserver/service/impl/SimpleLookupService.java
jetserver/src/main/java/org/menacheri/jetserver/service/impl/SimpleTaskManagerService.java
jetserver/src/main/java/org/menacheri/jetserver/service/impl/SimpleUniqueIdGenerator.java
jetserver/src/main/java/org/menacheri/jetserver/util/BinaryUtils.java
jetserver/src/main/java/org/menacheri/jetserver/util/Credentials.java
jetserver/src/main/java/org/menacheri/jetserver/util/JetConfig.java
jetserver/src/main/java/org/menacheri/jetserver/util/NettyUtils.java
jetserver/src/main/java/org/menacheri/jetserver/util/RandomStringGenerator.java
jetserver/src/main/java/org/menacheri/jetserver/util/SimpleCredentials.java
jetserver/src/main/java/org/menacheri/jetserver/util/SmallFileReader.java
jetserver/src/main/resources/jetserver/beans/netty-handlers.xml
jetserver/src/main/resources/jetserver/beans/server-beans.xml
jetserver/src/main/resources/jetserver/beans/server-protocols.xml
jetserver/src/main/resources/jetserver/beans/service-beans.xml
jetserver/src/main/resources/jetserver/props/flash-policy.xml
jetserver/src/main/resources/jetserver/props/jetserver.properties
jetserver/src/test/java/org/menacheri/jetserver/AppTest.java
jetserver/src/test/java/org/menacheri/jetserver/JetServerSpringConfig.java
jetserver/src/test/java/org/menacheri/jetserver/JetlangEventDispatcherTest.java
jetserver/src/test/java/org/menacheri/jetserver/SpringNettyServer.java
jetserver/src/test/java/org/menacheri/jetserver/app/impl/PlayerSessionTest.java
jetserver/src/test/java/org/menacheri/jetserver/app/impl/PlayerSessionWithEventDispatcherTest.java
jetserver/src/test/java/org/menacheri/jetserver/protocols/impl/AMF3ProtocolTest.java
jetserver/src/test/java/org/menacheri/jetserver/protocols/impl/AMF3StringProtocolTest.java
jetserver/src/test/java/org/menacheri/jetserver/protocols/impl/DummyProtocol.java
jetserver/src/test/java/org/menacheri/jetserver/protocols/impl/MessageBufferProtocolTest.java
jetserver/src/test/java/org/menacheri/jetserver/util/SessionHandlerLatchCounter.java
jetserver/src/test/java/org/menacheri/jetserver/util/TestGameRoom.java

Download

Click the following link to download java-game-server-master.zip.

java-game-server-master.zip




















Home »
  Java Free Code »
    Game »




Game
Game 2D
Game 3D
Game adventure
Game API
Game engine
Game framework
Game GWT
Game HTML5
Game http
Game image
Game JavaFX
Game Library
Game multiplayer
Game network
Game plugin
Game Puzzle
Game RPG
Game shooter
Game Space
Minecraft
Minesweeper
TicTacToe