Back to project page webots-remote-control.
The source code is released under:
GNU Lesser General Public License
If you think the Android project webots-remote-control listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.black_mesa.webots_remote_control.client; /*ww w. j a va2 s .c om*/ /** * Enumeration of the possible states of a client. * * @author Ilja Kroonen * */ public enum ConnectionState { /** * Initial state of a Client after instanciation. No event is dispatched for this state. */ INIT, /** * State of a Client when a connection is active with a valid server. */ CONNECTED, /** * Indicates that there was a problem with the communication protocol between the Client and the Server. This can be * a version problem (serialization error for example). */ COMMUNICATION_ERROR, /** * Indicates that the connection to the server is broken. */ CONNECTION_ERROR, /** * Indicates that the Client has been disposed using the dispose() method. */ DISPOSED }