Added SafeClientInterface so I could safely change the definition of ClientInterface but expect it to run with older versions.

This commit is contained in:
Travis Burtrum 2012-01-30 21:26:14 -05:00 committed by moparisthebest
parent 476c1017b8
commit f01c2dc317
1 changed files with 9 additions and 0 deletions

View File

@ -51,6 +51,15 @@ public interface ClientInterface {
*/
public void setPort(int port);
/**
* Returns the server's address.
* <p/>
* This *MUST* be implemented correctly.
*
* @return The address the client would try to connect to, as set by setServer().
*/
public String getServer();
/**
* Returns the server's port.
* <p/>