public class DefaultChannelMode extends DefaultModeBase implements ChannelMode
ChannelMode
.ChannelMode.Type
Constructor and Description |
---|
DefaultChannelMode(@NonNull Client client,
char mode,
@NonNull ChannelMode.Type type)
Constructs this object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
@NonNull ChannelMode.Type |
getType()
Gets the type this mode is.
|
int |
hashCode() |
@NonNull ToStringer |
toStringer()
Helper method for toString.
|
getChar, getClient, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getClient
public DefaultChannelMode(@NonNull Client client, char mode, @NonNull ChannelMode.Type type)
client
- client for which this existsmode
- modetype
- mode typepublic @NonNull ChannelMode.Type getType()
ChannelMode
getType
in interface ChannelMode
public @NonNull ToStringer toStringer()
DefaultModeBase
toStringer
in class DefaultModeBase
Copyright © 2013–2021 Kitteh. All rights reserved.