X-Git-Url: http://git.nikiroo.be/?p=fanfix.git;a=blobdiff_plain;f=library%2FRemoteLibraryServer.java;h=c150a01b6f8a14f68279fc4bb7358f3374a85e10;hp=f92c37e8e2ecaf6a1b7604d6b0c914a56b03131a;hb=5f3671e17febc5b7f6abbfc62c66c4045d47ec8d;hpb=bb0c30accc7248ef6a0c79a75c40a225062cc6a3 diff --git a/library/RemoteLibraryServer.java b/library/RemoteLibraryServer.java index f92c37e..c150a01 100644 --- a/library/RemoteLibraryServer.java +++ b/library/RemoteLibraryServer.java @@ -70,16 +70,16 @@ public class RemoteLibraryServer extends ServerObject { * Note: the key we use here is the encryption key (it must not contain a * subkey). * - * @param key - * the key that will restrict access to this server - * @param port - * the port to listen on - * * @throws IOException * in case of I/O error */ - public RemoteLibraryServer(String key, int port) throws IOException { - super("Fanfix remote library", port, key); + public RemoteLibraryServer() throws IOException { + super("Fanfix remote library", + Instance.getInstance().getConfig() + .getInteger(Config.SERVER_PORT), + Instance.getInstance().getConfig() + .getString(Config.SERVER_KEY)); + setTraceHandler(Instance.getInstance().getTraceHandler()); }