Added SafeClientInterface so I could safely change the definition of ClientInterface but expect it to run with older versions.
This commit is contained in:
parent
476c1017b8
commit
f01c2dc317
|
@ -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/>
|
||||
|
|
Loading…
Reference in New Issue