| Package | Description |
|---|---|
| org.kitteh.irc.client.library.defaults.feature |
Defaults!
|
| org.kitteh.irc.client.library.defaults.feature.network | |
| org.kitteh.irc.client.library.feature.defaultmessage |
Handling of default messages in the client.
|
| org.kitteh.irc.client.library.feature.network |
Networking is fun for the whole family!
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<DefaultMessageType,String> |
SimpleDefaultMessageMap.defaults
Defaults stored.
|
| Modifier and Type | Method and Description |
|---|---|
@NonNull Optional<String> |
SimpleDefaultMessageMap.getDefault(DefaultMessageType key) |
@NonNull Optional<String> |
SimpleDefaultMessageMap.getDefault(@NonNull DefaultMessageType key,
@Nullable String defaultValue) |
@NonNull SimpleDefaultMessageMap |
SimpleDefaultMessageMap.setDefault(@NonNull DefaultMessageType key,
@Nullable String defaultString) |
| Modifier and Type | Method and Description |
|---|---|
void |
NettyConnection.shutdown(DefaultMessageType messageType,
boolean reconnect) |
| Modifier and Type | Method and Description |
|---|---|
static DefaultMessageType |
DefaultMessageType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultMessageType[] |
DefaultMessageType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
@NonNull Optional<String> |
DefaultMessageMap.getDefault(DefaultMessageType key)
Retrieves the default string value for the specified default message
type, using
getFallback() if not set in
this map. |
@NonNull Optional<String> |
DefaultMessageMap.getDefault(DefaultMessageType key,
String defaultValue)
Retrieves the default string value for the specified default message
type, using a provided default value if not set in this map.
|
@NonNull DefaultMessageMap |
DefaultMessageMap.setDefault(DefaultMessageType key,
@Nullable String defaultString)
Sets a new default value for a given default message type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClientConnection.shutdown(DefaultMessageType messageType,
boolean reconnect)
Shuts down with a message type.
|
Copyright © 2013–2021 Kitteh. All rights reserved.