Added an isStarted() method to Client.

This commit is contained in:
Paul Speed 2015-05-01 02:26:33 -04:00
parent 323daeb94f
commit 33d21c2de3

View File

@ -55,6 +55,12 @@ public interface Client extends MessageConnection
*/ */
public boolean isConnected(); public boolean isConnected();
/**
* Returns true if this client has been started and is still
* running.
*/
public boolean isStarted();
/** /**
* Returns a unique ID for this client within the remote * Returns a unique ID for this client within the remote
* server or -1 if this client isn't fully connected to the * server or -1 if this client isn't fully connected to the