ml.karmaconfigs.remote.messaging.util.DisconnectReason Maven / Gradle / Ivy
package ml.karmaconfigs.remote.messaging.util;
/*
* GNU LESSER GENERAL PUBLIC LICENSE
* Version 2.1, February 1999
*
* Copyright (C) 1991, 1999 Free Software Foundation, Inc.
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* Everyone is permitted to copy and distribute verbatim copies
* of this license document, but changing it is not allowed.
*
* [This is the first released version of the Lesser GPL. It also counts
* as the successor of the GNU Library Public License, version 2, hence
* the version number 2.1.]
*/
/**
* Disconnect reasons
*/
public enum DisconnectReason {
/**
* Client is banned
*/
BANNED,
/**
* Connection killed by server
*/
KILLED_BY_SERVER,
/**
* Connection killed by client
*/
KILLED_BY_CLIENT,
/**
* Unknown disconnect reason
*/
UNKNOWN
}