Commit 0e6264f8 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Fixed start-up problem removing unused code.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@620 b35dd754-fafc-0310-a699-88a17e54d16e
parent a0dec522
......@@ -12,7 +12,6 @@
package org.jivesoftware.messenger;
import org.jivesoftware.messenger.container.Module;
import org.jivesoftware.messenger.auth.UnauthorizedException;
import org.xmpp.packet.JID;
/**
......@@ -54,12 +53,4 @@ public interface XMPPServer extends Module {
*/
public JID createJID(String username, String resource);
/**
* Obtain the session representing a packet stream originating from the server.
*
* @return the session representing the server packet stream.
* @throws UnauthorizedException if the caller doesn't have permission to access this resource.
*/
public Session getSession() throws UnauthorizedException;
}
......@@ -77,13 +77,6 @@ public class BasicServer extends BasicModule implements XMPPServer {
return new JID(username, name, resource);
}
private Session serverSession = new ServerSession(new JID(null, name, null),
new BasicStreamIDFactory().createStreamID(name));
public Session getSession() {
return serverSession;
}
public String getName() {
return "XMPP Server Kernel";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment