Преглед на файлове

Added an isStarted() method to Client.

Paul Speed преди 10 години
родител
ревизия
33d21c2de3
променени са 1 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 6 0
      jme3-networking/src/main/java/com/jme3/network/Client.java

+ 6 - 0
jme3-networking/src/main/java/com/jme3/network/Client.java

@@ -55,6 +55,12 @@ public interface Client extends MessageConnection
      */
     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
      *  server or -1 if this client isn't fully connected to the