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. |
getSourcegetClient, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetClientgetTag, getTag, getTagsprotected ChannelEventBase(@NonNull Client client, @NonNull ServerMessage sourceMessage, @NonNull Channel channel)
client - the clientsourceMessage - source messagechannel - the channelpublic final @NonNull Channel getChannel()
ChannelEventChannel involved in this event.getChannel in interface ChannelEventprotected @NonNull ToStringer toStringer()
ClientEventBaseToStringer for the command.toStringer in class ServerMessageEventBaseCopyright © 2013–2021 Kitteh. All rights reserved.