Class SFS2X.Utils.ClientDisconnectionReason
The possible reasons why a disconnection from the server occurred.
Field Summary
Field Detail
<static> <constant>
SFS2X.Utils.ClientDisconnectionReason.BAN
Client 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).
<static> <constant>
SFS2X.Utils.ClientDisconnectionReason.IDLE
Client was disconnected because it was idle for too long.
The connection timeout depends on the server settings.
<static> <constant>
SFS2X.Utils.ClientDisconnectionReason.KICK
Client 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).
<static> <constant>
SFS2X.Utils.ClientDisconnectionReason.MANUAL
The client manually disconnected from the server.
The disconnect method on the SmartFox class was called.
<static> <constant>
SFS2X.Utils.ClientDisconnectionReason.UNKNOWN
A 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.