public enum DefaultMessageType extends Enum<DefaultMessageType>
| Enum Constant and Description |
|---|
KICK
When a KickCommand has no reason supplied.
|
PART
When a channel is parted with no reason supplied.
|
QUIT
An user specified shutdown.
|
QUIT_INTERNAL_EXCEPTION
When KICL experiences an IO exception it will attempt to reconnect
to the server with this value.
|
QUIT_PING_TIMEOUT
When KICL thinks it has lost connection with the server, it will
attempt to reconnect with this value.
|
RECONNECT
When KICL triggers a reconnect neither due to connection loss with the
server, nor due to an exception.
|
STS_FAILURE
STS failure.
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable String |
getFallback()
Gets the value used by the Client, if no default is set.
|
static DefaultMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultMessageType KICK
public static final DefaultMessageType PART
public static final DefaultMessageType QUIT
public static final DefaultMessageType QUIT_PING_TIMEOUT
public static final DefaultMessageType QUIT_INTERNAL_EXCEPTION
public static final DefaultMessageType RECONNECT
public static final DefaultMessageType STS_FAILURE
public static DefaultMessageType[] values()
for (DefaultMessageType c : DefaultMessageType.values()) System.out.println(c);
public static DefaultMessageType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic @Nullable String getFallback()
Copyright © 2013–2021 Kitteh. All rights reserved.