From 1f100326ba5814f5623e9c8bb5362123a6519d02 Mon Sep 17 00:00:00 2001 From: Rogiel Date: Wed, 28 Dec 2011 12:24:31 -0200 Subject: [PATCH] Removes loginserver deprecated classes and improves javadoc --- .../com/l2jserver/service/ServiceManager.java | 13 +- .../sql/AbstractSQLDatabaseService.java | 2 + .../java/com/l2jserver/L2JLoginServer.java | 13 -- .../java/com/l2jserver/LoginServerMain.java | 8 - .../java/com/l2jserver/LoginServerModule.java | 11 -- .../net/Lineage2LSChannelPipelineFactory.java | 16 -- .../net/codec/Lineage2LSFrameDecoder.java | 9 -- .../net/codec/Lineage2LSFrameEncoder.java | 9 -- .../LoginServerChannelPipelineFactory.java | 36 ----- .../java/com/l2jserver/ls/net/Message.java | 7 - .../ls/net/handler/ServiceHandler.java | 22 --- .../ls/net/message/AuthRequestMessage.java | 150 ------------------ .../ls/net/message/AuthResponseMessage.java | 47 ------ .../net/message/ChangeAccessLevelMessage.java | 58 ------- .../ls/net/message/InitLSMessage.java | 54 ------- .../ls/net/message/KickPlayerMessage.java | 38 ----- .../net/message/LoginServerFailMessage.java | 49 ------ .../net/message/PlayerAuthRequestMessage.java | 106 ------------- .../message/PlayerAuthResponseMessage.java | 58 ------- .../ls/net/message/PlayerInGameMessage.java | 42 ----- .../ls/net/message/PlayerLogoutMessage.java | 42 ----- .../ls/net/message/PlayerTracertMessage.java | 122 -------------- .../ls/net/message/ServerStatusMessage.java | 88 ---------- .../com/l2jserver/service/ServiceModule.java | 23 --- .../service/database/H2DAOModule.java | 32 ---- .../LoginServerSQLDatabaseService.java | 74 --------- .../service/database/MySQL5DAOModule.java | 32 ---- .../gameserver/GameServerNetworkService.java | 28 ---- .../gameserver/NetworkConfiguration.java | 51 ------ 29 files changed, 12 insertions(+), 1228 deletions(-) delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/L2JLoginServer.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/LoginServerMain.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/LoginServerModule.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/game/net/Lineage2LSChannelPipelineFactory.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/game/net/codec/Lineage2LSFrameDecoder.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/game/net/codec/Lineage2LSFrameEncoder.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/LoginServerChannelPipelineFactory.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/Message.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/handler/ServiceHandler.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/AuthRequestMessage.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/AuthResponseMessage.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/ChangeAccessLevelMessage.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/InitLSMessage.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/KickPlayerMessage.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/LoginServerFailMessage.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/PlayerAuthRequestMessage.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/PlayerAuthResponseMessage.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/PlayerInGameMessage.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/PlayerLogoutMessage.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/PlayerTracertMessage.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/ServerStatusMessage.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/service/ServiceModule.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/service/database/H2DAOModule.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/service/database/LoginServerSQLDatabaseService.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/service/database/MySQL5DAOModule.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/service/gameserver/GameServerNetworkService.java delete mode 100644 l2jserver2-loginserver/src/main/java/com/l2jserver/service/gameserver/NetworkConfiguration.java diff --git a/l2jserver2-common/src/main/java/com/l2jserver/service/ServiceManager.java b/l2jserver2-common/src/main/java/com/l2jserver/service/ServiceManager.java index 582a4008b..0225f00ce 100644 --- a/l2jserver2-common/src/main/java/com/l2jserver/service/ServiceManager.java +++ b/l2jserver2-common/src/main/java/com/l2jserver/service/ServiceManager.java @@ -77,6 +77,9 @@ public class ServiceManager { .newMap(); /** + * Loads an service descriptor XML file in order to bind XML services to the + * server runtime. + * * @param file * the XML file * @throws SAXException @@ -121,7 +124,7 @@ public class ServiceManager { * Initializes the service manager * * @param injector - * the injector instance + * the {@link Injector} instance * @throws ServiceStartException * if any error occur while starting logging or configuration * service @@ -150,6 +153,10 @@ public class ServiceManager { } /** + * Returns the ServiceDescriptor binded to serviceClass. If no + * implementation of serviceClass, null is + * returned. + * * @param serviceClass * the service class * @return the {@link ServiceDescriptor} for the requested service @@ -273,13 +280,13 @@ public class ServiceManager { } /** - * Creates a {@link Set} of all dependecies to be stopped + * Creates a {@link Set} of all dependencies to be stopped * * @param depends * the service * @param serviceClass * the service class - * @return the {@link Set} of all depedendecies to be stopped + * @return the {@link Set} of all dependencies to be stopped */ private Set> createStopDependencies( Set> depends, Service serviceClass) { diff --git a/l2jserver2-common/src/main/java/com/l2jserver/service/database/sql/AbstractSQLDatabaseService.java b/l2jserver2-common/src/main/java/com/l2jserver/service/database/sql/AbstractSQLDatabaseService.java index 00460ff9a..b2ba35620 100644 --- a/l2jserver2-common/src/main/java/com/l2jserver/service/database/sql/AbstractSQLDatabaseService.java +++ b/l2jserver2-common/src/main/java/com/l2jserver/service/database/sql/AbstractSQLDatabaseService.java @@ -999,6 +999,7 @@ public abstract class AbstractSQLDatabaseService extends object = mapper.select(entity, new SQLDatabaseRow(results.get(0), entity)); updateCache(object, database); + updateDesire(object, ObjectDesire.INSERT); } return object; } else { @@ -1047,6 +1048,7 @@ public abstract class AbstractSQLDatabaseService extends if (object == null) { object = mapper.select(entity, row); updateCache(object, database); + updateDesire(object, ObjectDesire.INSERT); } if (object != null) objects.add(object); diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/L2JLoginServer.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/L2JLoginServer.java deleted file mode 100644 index feba99504..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/L2JLoginServer.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.l2jserver; - -import com.google.inject.Guice; -import com.google.inject.Injector; - -public class L2JLoginServer { - private final Injector injector = Guice - .createInjector(new LoginServerModule()); - - public Injector getInjector() { - return injector; - } -} diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/LoginServerMain.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/LoginServerMain.java deleted file mode 100644 index 2c5483b50..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/LoginServerMain.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.l2jserver; - -public class LoginServerMain { - public static void main(String[] args) { - // final L2JLoginServer server = new L2JLoginServer(); - // TODO initilization - } -} diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/LoginServerModule.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/LoginServerModule.java deleted file mode 100644 index f9ddead7c..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/LoginServerModule.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.l2jserver; - -import com.google.inject.AbstractModule; -import com.l2jserver.service.ServiceModule; - -public class LoginServerModule extends AbstractModule { - @Override - protected void configure() { - install(new ServiceModule()); - } -} diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/game/net/Lineage2LSChannelPipelineFactory.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/game/net/Lineage2LSChannelPipelineFactory.java deleted file mode 100644 index e8d13db9c..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/game/net/Lineage2LSChannelPipelineFactory.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.l2jserver.game.net; - -import org.jboss.netty.channel.ChannelPipeline; -import org.jboss.netty.channel.ChannelPipelineFactory; -import static org.jboss.netty.channel.Channels.*; - -public class Lineage2LSChannelPipelineFactory implements ChannelPipelineFactory { - @Override - public ChannelPipeline getPipeline() throws Exception { - final ChannelPipeline pipeline = pipeline(); - - pipeline.addLast("", null); - - return pipeline; - } -} diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/game/net/codec/Lineage2LSFrameDecoder.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/game/net/codec/Lineage2LSFrameDecoder.java deleted file mode 100644 index 6de192f02..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/game/net/codec/Lineage2LSFrameDecoder.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.l2jserver.game.net.codec; - -import org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder; - -public class Lineage2LSFrameDecoder extends LengthFieldBasedFrameDecoder { - public Lineage2LSFrameDecoder() { - super(16 * 1024, 0, 2); - } -} diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/game/net/codec/Lineage2LSFrameEncoder.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/game/net/codec/Lineage2LSFrameEncoder.java deleted file mode 100644 index 7b318f35d..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/game/net/codec/Lineage2LSFrameEncoder.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.l2jserver.game.net.codec; - -import org.jboss.netty.handler.codec.frame.LengthFieldPrepender; - -public class Lineage2LSFrameEncoder extends LengthFieldPrepender { - public Lineage2LSFrameEncoder() { - super(2); - } -} diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/LoginServerChannelPipelineFactory.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/LoginServerChannelPipelineFactory.java deleted file mode 100644 index 4ce0f93d7..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/LoginServerChannelPipelineFactory.java +++ /dev/null @@ -1,36 +0,0 @@ -package com.l2jserver.ls.net; - -import static org.jboss.netty.channel.Channels.pipeline; - -import org.jboss.netty.channel.ChannelPipeline; -import org.jboss.netty.channel.ChannelPipelineFactory; -import org.jboss.netty.handler.codec.frame.LengthFieldBasedFrameDecoder; -import org.jboss.netty.handler.codec.frame.LengthFieldPrepender; - -import com.l2jserver.service.gameserver.GameServerNetworkService; - -public class LoginServerChannelPipelineFactory implements - ChannelPipelineFactory { - @SuppressWarnings("unused") - private final GameServerNetworkService networkService; - - public LoginServerChannelPipelineFactory( - GameServerNetworkService networkService) { - this.networkService = networkService; - } - - @Override - public ChannelPipeline getPipeline() throws Exception { - final ChannelPipeline pipeline = pipeline(); - - // pipeline.addLast("ssl", new SslHandler()); - pipeline.addLast("frameEncoder", new LengthFieldPrepender(4)); - pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder( - 1048576, 0, 4, 0, 4)); - - // pipeline.addLast("encoder", new ObjectEncoder()); - // pipeline.addLast("decoder", new ObjectDecoder()); - - return null; - } -} diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/Message.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/Message.java deleted file mode 100644 index 33e708ddd..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/Message.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.l2jserver.ls.net; - -import java.io.Serializable; - -public interface Message extends Serializable { - -} diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/handler/ServiceHandler.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/handler/ServiceHandler.java deleted file mode 100644 index 0d6ff08d7..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/handler/ServiceHandler.java +++ /dev/null @@ -1,22 +0,0 @@ -package com.l2jserver.ls.net.handler; - -import org.jboss.netty.channel.ChannelHandlerContext; -import org.jboss.netty.channel.ChannelStateEvent; -import org.jboss.netty.channel.MessageEvent; -import org.jboss.netty.channel.SimpleChannelHandler; - -public class ServiceHandler extends SimpleChannelHandler { - @Override - public void channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e) - throws Exception { - - super.channelConnected(ctx, e); - } - - @Override - public void messageReceived(ChannelHandlerContext ctx, MessageEvent e) - throws Exception { - // TODO Auto-generated method stub - super.messageReceived(ctx, e); - } -} diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/AuthRequestMessage.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/AuthRequestMessage.java deleted file mode 100644 index 722fbe840..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/AuthRequestMessage.java +++ /dev/null @@ -1,150 +0,0 @@ -/* - * This program is free software: you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more - * details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ -package com.l2jserver.ls.net.message; - -import com.l2jserver.ls.net.Message; - -public class AuthRequestMessage implements Message { - private static final long serialVersionUID = -1983769628118961790L; - - private int id; - private boolean acceptAlternate; - private byte[] hexid; - private int port; - private boolean reserveHost; - private int maxplayer; - private String[] subnets; - private String[] hosts; - - /** - * @return the id - */ - public int getId() { - return id; - } - - /** - * @param id - * the id to set - */ - public void setId(int id) { - this.id = id; - } - - /** - * @return the acceptAlternate - */ - public boolean isAcceptAlternate() { - return acceptAlternate; - } - - /** - * @param acceptAlternate - * the acceptAlternate to set - */ - public void setAcceptAlternate(boolean acceptAlternate) { - this.acceptAlternate = acceptAlternate; - } - - /** - * @return the hexid - */ - public byte[] getHexid() { - return hexid; - } - - /** - * @param hexid - * the hexid to set - */ - public void setHexid(byte[] hexid) { - this.hexid = hexid; - } - - /** - * @return the port - */ - public int getPort() { - return port; - } - - /** - * @param port - * the port to set - */ - public void setPort(int port) { - this.port = port; - } - - /** - * @return the reserveHost - */ - public boolean isReserveHost() { - return reserveHost; - } - - /** - * @param reserveHost - * the reserveHost to set - */ - public void setReserveHost(boolean reserveHost) { - this.reserveHost = reserveHost; - } - - /** - * @return the maxplayer - */ - public int getMaxplayer() { - return maxplayer; - } - - /** - * @param maxplayer - * the maxplayer to set - */ - public void setMaxplayer(int maxplayer) { - this.maxplayer = maxplayer; - } - - /** - * @return the subnets - */ - public String[] getSubnets() { - return subnets; - } - - /** - * @param subnets - * the subnets to set - */ - public void setSubnets(String[] subnets) { - this.subnets = subnets; - } - - /** - * @return the hosts - */ - public String[] getHosts() { - return hosts; - } - - /** - * @param hosts - * the hosts to set - */ - public void setHosts(String[] hosts) { - this.hosts = hosts; - } -} \ No newline at end of file diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/AuthResponseMessage.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/AuthResponseMessage.java deleted file mode 100644 index fba39ae18..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/AuthResponseMessage.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * This program is free software: you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more - * details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ -package com.l2jserver.ls.net.message; - -import com.l2jserver.ls.net.Message; - -/** - * @author -Wooden- - * - */ -public class AuthResponseMessage implements Message { - private static final long serialVersionUID = -8422461240360413638L; - - private int serverId; - private String serverName; - - public AuthResponseMessage() { - } - - public int getServerId() { - return serverId; - } - - public void setServerId(int serverId) { - this.serverId = serverId; - } - - public String getServerName() { - return serverName; - } - - public void setServerName(String serverName) { - this.serverName = serverName; - } -} diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/ChangeAccessLevelMessage.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/ChangeAccessLevelMessage.java deleted file mode 100644 index addd425d3..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/ChangeAccessLevelMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * This program is free software: you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more - * details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ -package com.l2jserver.ls.net.message; - -import com.l2jserver.ls.net.Message; - -/** - * @author -Wooden- - * - */ -public class ChangeAccessLevelMessage implements Message { - private static final long serialVersionUID = 3955787866005767089L; - - private String player; - private int access; - - /** - * @return the player - */ - public String getPlayer() { - return player; - } - - /** - * @param player - * the player to set - */ - public void setPlayer(String player) { - this.player = player; - } - - /** - * @return the access - */ - public int getAccess() { - return access; - } - - /** - * @param access - * the access to set - */ - public void setAccess(int access) { - this.access = access; - } -} \ No newline at end of file diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/InitLSMessage.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/InitLSMessage.java deleted file mode 100644 index 85f38c9f9..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/InitLSMessage.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * This program is free software: you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more - * details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ -package com.l2jserver.ls.net.message; - -import com.l2jserver.ls.net.Message; - -public class InitLSMessage implements Message { - private static final long serialVersionUID = 6277036140453399066L; - - private int rev; - private byte[] key; - - /** - * @return the rev - */ - public int getRev() { - return rev; - } - - /** - * @param rev - * the rev to set - */ - public void setRev(int rev) { - this.rev = rev; - } - - /** - * @return the key - */ - public byte[] getKey() { - return key; - } - - /** - * @param key - * the key to set - */ - public void setKey(byte[] key) { - this.key = key; - } -} \ No newline at end of file diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/KickPlayerMessage.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/KickPlayerMessage.java deleted file mode 100644 index 24489add0..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/KickPlayerMessage.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * This program is free software: you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more - * details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ -package com.l2jserver.ls.net.message; - -import com.l2jserver.ls.net.Message; - -public class KickPlayerMessage implements Message { - private static final long serialVersionUID = 6409419918667594810L; - - private String account; - - /** - * @return the account - */ - public String getAccount() { - return account; - } - - /** - * @param account - * the account to set - */ - public void setAccount(String account) { - this.account = account; - } -} \ No newline at end of file diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/LoginServerFailMessage.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/LoginServerFailMessage.java deleted file mode 100644 index 3f96fe3b4..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/LoginServerFailMessage.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * This program is free software: you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more - * details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ -package com.l2jserver.ls.net.message; - -import com.l2jserver.ls.net.Message; - -public class LoginServerFailMessage implements Message { - private static final long serialVersionUID = -4031976482500361984L; - - private static final String[] REASONS = { "None", "Reason: ip banned", - "Reason: ip reserved", "Reason: wrong hexid", - "Reason: id reserved", "Reason: no free ID", "Not authed", - "Reason: already logged in" }; - private int reason; - - /** - * @return the reason - */ - public int getReason() { - return reason; - } - - /** - * @return the reason - */ - public String getReasonAsString() { - return REASONS[reason]; - } - - /** - * @param reason - * the reason to set - */ - public void setReason(int reason) { - this.reason = reason; - } -} \ No newline at end of file diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/PlayerAuthRequestMessage.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/PlayerAuthRequestMessage.java deleted file mode 100644 index 64183b793..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/PlayerAuthRequestMessage.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * This program is free software: you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more - * details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ -package com.l2jserver.ls.net.message; - -import com.l2jserver.ls.net.Message; - -/** - * @author -Wooden- - * - */ -public class PlayerAuthRequestMessage implements Message { - private static final long serialVersionUID = 4583147564841961379L; - - private String account; - private int playOkId1; - private int playOkId2; - private int loginOkId1; - private int loginOkId2; - - /** - * @return the account - */ - public String getAccount() { - return account; - } - - /** - * @param account - * the account to set - */ - public void setAccount(String account) { - this.account = account; - } - - /** - * @return the playOkId1 - */ - public int getPlayOkId1() { - return playOkId1; - } - - /** - * @param playOkId1 - * the playOkId1 to set - */ - public void setPlayOkId1(int playOkId1) { - this.playOkId1 = playOkId1; - } - - /** - * @return the playOkId2 - */ - public int getPlayOkId2() { - return playOkId2; - } - - /** - * @param playOkId2 - * the playOkId2 to set - */ - public void setPlayOkId2(int playOkId2) { - this.playOkId2 = playOkId2; - } - - /** - * @return the loginOkId1 - */ - public int getLoginOkId1() { - return loginOkId1; - } - - /** - * @param loginOkId1 - * the loginOkId1 to set - */ - public void setLoginOkId1(int loginOkId1) { - this.loginOkId1 = loginOkId1; - } - - /** - * @return the loginOkId2 - */ - public int getLoginOkId2() { - return loginOkId2; - } - - /** - * @param loginOkId2 - * the loginOkId2 to set - */ - public void setLoginOkId2(int loginOkId2) { - this.loginOkId2 = loginOkId2; - } -} \ No newline at end of file diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/PlayerAuthResponseMessage.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/PlayerAuthResponseMessage.java deleted file mode 100644 index 0acea8df2..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/PlayerAuthResponseMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * This program is free software: you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more - * details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ -package com.l2jserver.ls.net.message; - -import com.l2jserver.ls.net.Message; - -/** - * @author -Wooden- - * - */ -public class PlayerAuthResponseMessage implements Message { - private static final long serialVersionUID = -2769385090218023613L; - - private String account; - private boolean authed; - - /** - * @return the account - */ - public String getAccount() { - return account; - } - - /** - * @param account - * the account to set - */ - public void setAccount(String account) { - this.account = account; - } - - /** - * @return the authed - */ - public boolean isAuthed() { - return authed; - } - - /** - * @param authed - * the authed to set - */ - public void setAuthed(boolean authed) { - this.authed = authed; - } -} \ No newline at end of file diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/PlayerInGameMessage.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/PlayerInGameMessage.java deleted file mode 100644 index 5e9159c2e..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/PlayerInGameMessage.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * This program is free software: you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more - * details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ -package com.l2jserver.ls.net.message; - -import com.l2jserver.ls.net.Message; - -/** - * @author -Wooden- - * - */ -public class PlayerInGameMessage implements Message { - private static final long serialVersionUID = 636969531052790109L; - - private String player; - - /** - * @return the player - */ - public String getPlayer() { - return player; - } - - /** - * @param player - * the player to set - */ - public void setPlayer(String player) { - this.player = player; - } -} \ No newline at end of file diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/PlayerLogoutMessage.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/PlayerLogoutMessage.java deleted file mode 100644 index 5c79fb3c0..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/PlayerLogoutMessage.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * This program is free software: you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more - * details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ -package com.l2jserver.ls.net.message; - -import com.l2jserver.ls.net.Message; - -/** - * @author -Wooden- - * - */ -public class PlayerLogoutMessage implements Message { - private static final long serialVersionUID = -5088785875080568929L; - - private String player; - - /** - * @return the player - */ - public String getPlayer() { - return player; - } - - /** - * @param player - * the player to set - */ - public void setPlayer(String player) { - this.player = player; - } -} \ No newline at end of file diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/PlayerTracertMessage.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/PlayerTracertMessage.java deleted file mode 100644 index b9a1d4ab0..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/PlayerTracertMessage.java +++ /dev/null @@ -1,122 +0,0 @@ -/* - * This program is free software: you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more - * details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ -package com.l2jserver.ls.net.message; - -import com.l2jserver.ls.net.Message; - -/** - * @author mrTJO - * - */ -public class PlayerTracertMessage implements Message { - private static final long serialVersionUID = 5148890222662873608L; - - private String account; - private String pcIp; - private String hop1; - private String hop2; - private String hop3; - private String hop4; - - /** - * @return the account - */ - public String getAccount() { - return account; - } - - /** - * @param account - * the account to set - */ - public void setAccount(String account) { - this.account = account; - } - - /** - * @return the pcIp - */ - public String getPcIp() { - return pcIp; - } - - /** - * @param pcIp - * the pcIp to set - */ - public void setPcIp(String pcIp) { - this.pcIp = pcIp; - } - - /** - * @return the hop1 - */ - public String getHop1() { - return hop1; - } - - /** - * @param hop1 - * the hop1 to set - */ - public void setHop1(String hop1) { - this.hop1 = hop1; - } - - /** - * @return the hop2 - */ - public String getHop2() { - return hop2; - } - - /** - * @param hop2 - * the hop2 to set - */ - public void setHop2(String hop2) { - this.hop2 = hop2; - } - - /** - * @return the hop3 - */ - public String getHop3() { - return hop3; - } - - /** - * @param hop3 - * the hop3 to set - */ - public void setHop3(String hop3) { - this.hop3 = hop3; - } - - /** - * @return the hop4 - */ - public String getHop4() { - return hop4; - } - - /** - * @param hop4 - * the hop4 to set - */ - public void setHop4(String hop4) { - this.hop4 = hop4; - } -} \ No newline at end of file diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/ServerStatusMessage.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/ServerStatusMessage.java deleted file mode 100644 index 8c2e377b3..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/ls/net/message/ServerStatusMessage.java +++ /dev/null @@ -1,88 +0,0 @@ -/* - * This program is free software: you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more - * details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ -package com.l2jserver.ls.net.message; - -import java.util.ArrayList; - -import com.l2jserver.ls.net.Message; - -/** - * @author -Wooden- - * - */ -public class ServerStatusMessage implements Message { - private static final long serialVersionUID = 251392846109402522L; - - private ArrayList attributes; - - public static final String[] STATUS_STRING = { "Auto", "Good", "Normal", - "Full", "Down", "Gm Only" }; - - public static final int SERVER_LIST_STATUS = 0x01; - public static final int SERVER_TYPE = 0x02; - public static final int SERVER_LIST_SQUARE_BRACKET = 0x03; - public static final int MAX_PLAYERS = 0x04; - public static final int SERVER_AGE = 0x05; - - // Server Status - public static final int STATUS_AUTO = 0x00; - public static final int STATUS_GOOD = 0x01; - public static final int STATUS_NORMAL = 0x02; - public static final int STATUS_FULL = 0x03; - public static final int STATUS_DOWN = 0x04; - public static final int STATUS_GM_ONLY = 0x05; - - // Server Types - public static final int SERVER_NORMAL = 0x01; - public static final int SERVER_RELAX = 0x02; - public static final int SERVER_TEST = 0x04; - public static final int SERVER_NOLABEL = 0x08; - public static final int SERVER_CREATION_RESTRICTED = 0x10; - public static final int SERVER_EVENT = 0x20; - public static final int SERVER_FREE = 0x40; - - // Server Ages - public static final int SERVER_AGE_ALL = 0x00; - public static final int SERVER_AGE_15 = 0x0F; - public static final int SERVER_AGE_18 = 0x12; - - public static final int ON = 0x01; - public static final int OFF = 0x00; - - public static class Attribute { - public int id; - public int value; - - Attribute(int pId, int pValue) { - id = pId; - value = pValue; - } - } - - /** - * @return the attributes - */ - public ArrayList getAttributes() { - return attributes; - } - - /** - * @param attributes - * the attributes to set - */ - public void setAttributes(ArrayList attributes) { - this.attributes = attributes; - } -} \ No newline at end of file diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/service/ServiceModule.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/service/ServiceModule.java deleted file mode 100644 index de2ed30b0..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/service/ServiceModule.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.l2jserver.service; - -import com.google.inject.AbstractModule; -import com.google.inject.Scopes; -import com.l2jserver.service.configuration.ConfigurationService; -import com.l2jserver.service.configuration.XMLConfigurationService; -import com.l2jserver.service.core.Log4JLoggingService; -import com.l2jserver.service.core.LoggingService; -import com.l2jserver.service.database.DatabaseService; -import com.l2jserver.service.database.LoginServerSQLDatabaseService; - -public class ServiceModule extends AbstractModule { - @Override - protected void configure() { - bind(ServiceManager.class).in(Scopes.SINGLETON); - bind(LoggingService.class).to(Log4JLoggingService.class).in( - Scopes.SINGLETON); - bind(ConfigurationService.class).to(XMLConfigurationService.class) - .in(Scopes.SINGLETON); - bind(DatabaseService.class).to(LoginServerSQLDatabaseService.class) - .in(Scopes.SINGLETON); - } -} diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/service/database/H2DAOModule.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/service/database/H2DAOModule.java deleted file mode 100644 index 3a95b0bdd..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/service/database/H2DAOModule.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * This file is part of l2jserver2 . - * - * l2jserver2 is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * l2jserver2 is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with l2jserver2. If not, see . - */ -package com.l2jserver.service.database; - -import com.google.inject.AbstractModule; -import com.google.inject.Module; - -/** - * Google Guice {@link Module} for H2 DAOs - * - * @author Rogiel - */ -public class H2DAOModule extends AbstractModule { - @Override - protected void configure() { - - } -} diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/service/database/LoginServerSQLDatabaseService.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/service/database/LoginServerSQLDatabaseService.java deleted file mode 100644 index 18703078f..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/service/database/LoginServerSQLDatabaseService.java +++ /dev/null @@ -1,74 +0,0 @@ -/* - * This file is part of l2jserver2 . - * - * l2jserver2 is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * l2jserver2 is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with l2jserver2. If not, see . - */ -package com.l2jserver.service.database; - -import com.l2jserver.service.AbstractService.Depends; -import com.l2jserver.service.cache.CacheService; -import com.l2jserver.service.configuration.ConfigurationService; -import com.l2jserver.service.core.LoggingService; -import com.l2jserver.service.core.threading.ThreadService; -import com.l2jserver.service.core.vfs.VFSService; -import com.l2jserver.service.database.sql.AbstractSQLDatabaseService; - -/** - * This is an implementation of {@link DatabaseService} that provides an layer - * to JDBC. - * - *

Internal specification

The - * {@link com.l2jserver.service.database.sql.AbstractSQLDatabaseService.Query - * Query} object

- * - * If you wish to implement a new {@link DataAccessObject} you should try not - * use - * {@link com.l2jserver.service.database.sql.AbstractSQLDatabaseService.Query - * Query} object directly because it only provides low level access to the JDBC - * architecture. Instead, you could use an specialized class, like - * {@link com.l2jserver.service.database.sql.AbstractSQLDatabaseService.InsertQuery - * InsertUpdateQuery} , - * {@link com.l2jserver.service.database.sql.AbstractSQLDatabaseService.SelectListQuery - * SelectListQuery} or - * {@link com.l2jserver.service.database.sql.AbstractSQLDatabaseService.SelectSingleQuery - * SelectSingleQuery} . If you do need low level access, feel free to use the - * {@link com.l2jserver.service.database.sql.AbstractSQLDatabaseService.Query - * Query} class directly. - * - * @author Rogiel - */ -@Depends({ LoggingService.class, CacheService.class, - ConfigurationService.class, ThreadService.class }) -public class LoginServerSQLDatabaseService extends AbstractSQLDatabaseService - implements DatabaseService { - /** - * @param cacheService - * the cache service - * @param threadService - * the thread service - * @param vfsService - * the vfs service - * @param daoResolver - * the {@link DataAccessObject DAO} resolver - */ - public LoginServerSQLDatabaseService(CacheService cacheService, - ThreadService threadService, VFSService vfsService, - DAOResolver daoResolver) { - super(cacheService, threadService, vfsService, daoResolver); - } - - @Override - public void updateSchemas() { - } -} diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/service/database/MySQL5DAOModule.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/service/database/MySQL5DAOModule.java deleted file mode 100644 index 86b356ef5..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/service/database/MySQL5DAOModule.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * This file is part of l2jserver2 . - * - * l2jserver2 is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * l2jserver2 is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with l2jserver2. If not, see . - */ -package com.l2jserver.service.database; - -import com.google.inject.AbstractModule; -import com.google.inject.Module; - -/** - * Google Guice {@link Module} for MySQL5 DAOs - * - * @author Rogiel - */ -public class MySQL5DAOModule extends AbstractModule { - @Override - protected void configure() { - - } -} diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/service/gameserver/GameServerNetworkService.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/service/gameserver/GameServerNetworkService.java deleted file mode 100644 index e5014eae4..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/service/gameserver/GameServerNetworkService.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * This file is part of l2jserver2 . - * - * l2jserver2 is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * l2jserver2 is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with l2jserver2. If not, see . - */ -package com.l2jserver.service.gameserver; - - -import com.l2jserver.service.Service; - -/** - * TODO - * - * @author Rogiel - */ -public interface GameServerNetworkService extends Service { -} diff --git a/l2jserver2-loginserver/src/main/java/com/l2jserver/service/gameserver/NetworkConfiguration.java b/l2jserver2-loginserver/src/main/java/com/l2jserver/service/gameserver/NetworkConfiguration.java deleted file mode 100644 index 17df945d0..000000000 --- a/l2jserver2-loginserver/src/main/java/com/l2jserver/service/gameserver/NetworkConfiguration.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * This file is part of l2jserver2 . - * - * l2jserver2 is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * l2jserver2 is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with l2jserver2. If not, see . - */ -package com.l2jserver.service.gameserver; - -import java.net.InetSocketAddress; - -import com.l2jserver.service.ServiceConfiguration; -import com.l2jserver.service.configuration.Configuration; -import com.l2jserver.service.configuration.Configuration.ConfigurationPropertyGetter; -import com.l2jserver.service.configuration.Configuration.ConfigurationPropertySetter; -import com.l2jserver.service.configuration.XMLConfigurationService.ConfigurationXPath; - -/** - * The network {@link Configuration} - * - * @author Rogiel - */ -public interface NetworkConfiguration extends ServiceConfiguration { - /** - * Get the server listen address - * - * @return the listen address - */ - @ConfigurationPropertyGetter(defaultValue = "0.0.0.0:2104") - @ConfigurationXPath("/configuration/services/network/listen") - InetSocketAddress getListenAddress(); - - /** - * Set the server listen address - * - * @param addr - * the listen address - */ - @ConfigurationPropertySetter - @ConfigurationXPath("/configuration/services/network/listen") - void setListenAddress(InetSocketAddress addr); -} \ No newline at end of file