public abstract class ChannelEventBase extends ServerMessageEventBase implements ChannelEvent
ChannelEvent
Modifier | Constructor and Description |
---|---|
protected |
ChannelEventBase(@NonNull Client client,
@NonNull ServerMessage sourceMessage,
@NonNull Channel channel)
Constructs the event.
|
Modifier and Type | Method and Description |
---|---|
@NonNull Channel |
getChannel()
Gets the
Channel involved in this event. |
protected @NonNull ToStringer |
toStringer()
Generates a partial
ToStringer for the command. |
getSource
getClient, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getClient
getTag, getTag, getTags
protected ChannelEventBase(@NonNull Client client, @NonNull ServerMessage sourceMessage, @NonNull Channel channel)
client
- the clientsourceMessage
- source messagechannel
- the channelpublic final @NonNull Channel getChannel()
ChannelEvent
Channel
involved in this event.getChannel
in interface ChannelEvent
protected @NonNull ToStringer toStringer()
ClientEventBase
ToStringer
for the command.toStringer
in class ServerMessageEventBase
Copyright © 2013–2021 Kitteh. All rights reserved.