跳到主要内容
版本:v3.0.x

clientIsReady()

This operation checks whether the client connection to the server is ready.

Java
public boolean clientIsReady()

RETURNS:

boolean

Returns true if the client is connected and ready, false otherwise.

Example

Java
boolean ready = client.clientIsReady();
System.out.println("Client ready: " + ready);