public static interface ServerInfo.WithManagement extends ServerInfo
ServerInfo.WithManagement
Modifier and Type | Method and Description |
---|---|
void |
addISupportParameter(@NonNull ISupportParameter parameter)
Adds an ISUPPORT parameter to the list of supported parameters.
|
@NonNull Optional<ChannelUserMode> |
getTargetedChannelInfo(@NonNull String name)
Gets the channel user mode for a targeted channel name, such as
+#channel targeting voiced users.
|
void |
setAddress(@NonNull String serverAddress)
Sets the server address.
|
void |
setMotd(@NonNull List<String> motd)
Sets the MOTD.
|
void |
setUserModes(@NonNull List<UserMode> userModes)
Sets the user modes.
|
void |
setVersion(@NonNull String version)
Sets the version.
|
addCustomChannelMode, addCustomUserMode, getAddress, getAwayReasonLengthLimit, getCaseMapping, getChannelLengthLimit, getChannelLimits, getChannelMode, getChannelModes, getChannelPrefixes, getChannelUserMode, getChannelUserModes, getISupportParameter, getISupportParameter, getISupportParameters, getKickReasonLengthLimit, getMotd, getNetworkName, getNickLengthLimit, getTopicLengthLimit, getUserModes, getVersion, hasWhoXSupport, isValidChannel
void addISupportParameter(@NonNull ISupportParameter parameter)
parameter
- parameter to add@NonNull Optional<ChannelUserMode> getTargetedChannelInfo(@NonNull String name)
name
- channel name with mode tagvoid setAddress(@NonNull String serverAddress)
serverAddress
- server addressvoid setUserModes(@NonNull List<UserMode> userModes)
userModes
- user modesvoid setVersion(@NonNull String version)
version
- versionCopyright © 2013–2021 Kitteh. All rights reserved.