public class DefaultChannelMode extends DefaultModeBase implements ChannelMode
ChannelMode
.ChannelMode.Type
Constructor and Description |
---|
DefaultChannelMode(Client client,
char mode,
ChannelMode.Type type)
Constructs this object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ChannelMode.Type |
getType()
Gets the type this mode is.
|
int |
hashCode() |
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 type@Nonnull public ChannelMode.Type getType()
ChannelMode
getType
in interface ChannelMode
@Nonnull public ToStringer toStringer()
DefaultModeBase
toStringer
in class DefaultModeBase
Copyright © 2013–2019 Kitteh. All rights reserved.