| Package | com.smartfoxserver.v2.util |
| Class | public class ClientDisconnectionReason |
| Inheritance | ClientDisconnectionReason Object |
| Constant | Defined By | ||
|---|---|---|---|
| BAN : String = ban [static]
Client was banned from the server. | ClientDisconnectionReason | ||
| IDLE : String = idle [static]
Client was disconnected because it was idle for too long. | ClientDisconnectionReason | ||
| KICK : String = kick [static]
Client was kicked out of the server. | ClientDisconnectionReason | ||
| MANUAL : String = manual [static]
The client manually disconnected from the server. | ClientDisconnectionReason | ||
| UNKNOWN : String [static]
A generic network error occurred, and the client is unable to determine the cause of the disconnection. | ClientDisconnectionReason | ||
| BAN | Constant |
public static const BAN:String = banClient was banned from the server. Banning can occur automatically (i.e. for flooding, if the flood filter is active) or due to the intervention of a user with enough privileges (i.e. an administrator or a moderator).
| IDLE | Constant |
public static const IDLE:String = idleClient was disconnected because it was idle for too long. The connection timeout depends on the server settings.
| KICK | Constant |
public static const KICK:String = kickClient was kicked out of the server. Kicking can occur automatically (i.e. for swearing, if the words filter is active) or due to the intervention of a user with enough privileges (i.e. an administrator or a moderator).
| MANUAL | Constant |
public static const MANUAL:String = manualThe client manually disconnected from the server. The disconnect method on the SmartFox class was called.
| UNKNOWN | Constant |
public static const UNKNOWN:StringA generic network error occurred, and the client is unable to determine the cause of the disconnection. The server-side log should be checked for possible error messages or warnings.