Commit f3f9c171 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Removed UnknownHostException from #getInetAddress().

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4023 b35dd754-fafc-0310-a699-88a17e54d16e
parent cb4584ff
......@@ -15,7 +15,6 @@ import org.jivesoftware.wildfire.auth.UnauthorizedException;
import org.xmpp.packet.Packet;
import java.net.InetAddress;
import java.net.UnknownHostException;
/**
* Represents a connection on the server.
......@@ -46,7 +45,7 @@ public interface Connection {
*
* @return the InetAddress describing the underlying connection properties.
*/
public InetAddress getInetAddress() throws UnknownHostException;
public InetAddress getInetAddress();
/**
* Close this session including associated socket connection. The order of
......
......@@ -18,7 +18,6 @@ import org.xmpp.packet.IQ;
import org.xmpp.packet.Packet;
import java.net.InetAddress;
import java.net.UnknownHostException;
/**
* Represents a connection of a Client Session that was established to a Connection Manager.
......@@ -95,7 +94,7 @@ public class ClientSessionConnection extends VirtualConnection {
}
}
public InetAddress getInetAddress() throws UnknownHostException {
public InetAddress getInetAddress() {
//TODO Future version may return actual IP client address. We would need to pass this info
// Return IP address of the connection manager that the client used to log in
ConnectionMultiplexerSession multiplexerSession =
......
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