From: <sno...@us...> - 2013-09-13 03:40:31
|
Revision: 94 http://sourceforge.net/p/openrpg/svn/94 Author: snowdog_ Date: 2013-09-13 03:40:28 +0000 (Fri, 13 Sep 2013) Log Message: ----------- Minor code cleanups Modified Paths: -------------- trunk/src/openrpg2/common/core/group/GroupClientModule.java trunk/src/openrpg2/common/core/route/RouteServiceThread.java Property Changed: ---------------- trunk/src/ Index: trunk/src =================================================================== --- trunk/src 2013-09-12 21:20:30 UTC (rev 93) +++ trunk/src 2013-09-13 03:40:28 UTC (rev 94) Property changes on: trunk/src ___________________________________________________________________ Added: svn:ignore ## -0,0 +1 ## +._.DS_Store Modified: trunk/src/openrpg2/common/core/group/GroupClientModule.java =================================================================== --- trunk/src/openrpg2/common/core/group/GroupClientModule.java 2013-09-12 21:20:30 UTC (rev 93) +++ trunk/src/openrpg2/common/core/group/GroupClientModule.java 2013-09-13 03:40:28 UTC (rev 94) @@ -23,8 +23,6 @@ import openrpg2.common.core.ORPGConstants; import openrpg2.common.core.ORPGMessage; -import openrpg2.common.core.route.AddressToken; -import openrpg2.common.core.route.MessageAddress; import openrpg2.common.module.ClientLoadable; import openrpg2.common.module.NetworkedModule; @@ -32,7 +30,7 @@ /** * GroupClientModule is the loadable module that tracks client grouping * information client side. This module makes requests for group changes - * for the client to the GroupServerModule on the server and recieves + * for the client to the GroupServerModule on the server and receives * confirmation and notification of all group changing activities from * the server. * @@ -53,6 +51,7 @@ * doRegistration is called by the ModuleManager when loading this module to * allow the module to register components and services with the ModuleManager. */ + @Override protected void doRegistration(){ modCom.registerMessageType(ORPGConstants.TYPE_GROUP, this); } @@ -61,6 +60,7 @@ * processMessage() is called by message routing threads to handle messages for this module. * It is required by the NetworkedModule base class. */ + @Override public void processMessage(ORPGMessage msg){ //NOTE messages of this type ALWAYS come from the server int operation = Integer.parseInt(msg.getHeader(GroupMessageConstants.HEADER_OP)); Modified: trunk/src/openrpg2/common/core/route/RouteServiceThread.java =================================================================== --- trunk/src/openrpg2/common/core/route/RouteServiceThread.java 2013-09-12 21:20:30 UTC (rev 93) +++ trunk/src/openrpg2/common/core/route/RouteServiceThread.java 2013-09-13 03:40:28 UTC (rev 94) @@ -141,7 +141,6 @@ //TODO: Add inbound filter hook //TODO: Add code to locate module from module manager and process message using module handler method - System.out.println("---> "+msg.getAsString()); NetworkedModule handler = null; try{ if( msg.verifyHeader()){ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |