jerklib.events
Interface KickEvent

All Superinterfaces:
IRCEvent
All Known Implementing Classes:
KickEventImpl

public interface KickEvent
extends IRCEvent

Event fired when someone is kicked from a channel

Author:
mohadib
See Also:
Channel.kick(String, String)

Nested Class Summary
 
Nested classes/interfaces inherited from interface jerklib.events.IRCEvent
IRCEvent.Type
 
Method Summary
 String byWho()
          Gets the nick of the user who did the kicking
 Channel getChannel()
          Gets the channel object someone was kicked from
 String getHostName()
          get the host name of the kicker (the person doing the kicking)
 String getMessage()
          Gets the kick message
 String getUserName()
          Get the username from the hostmask of the kicker (the person doing the kicking)
 String getWho()
          Gets the nick of who was kicked
 
Methods inherited from interface jerklib.events.IRCEvent
getRawEventData, getSession, getType
 

Method Detail

byWho

String byWho()
Gets the nick of the user who did the kicking

Returns:
nick

getUserName

String getUserName()
Get the username from the hostmask of the kicker (the person doing the kicking)

Returns:
the username

getHostName

String getHostName()
get the host name of the kicker (the person doing the kicking)

Returns:
the hostname

getMessage

String getMessage()
Gets the kick message

Returns:
message

getWho

String getWho()
Gets the nick of who was kicked

Returns:
who was kicked

getChannel

Channel getChannel()
Gets the channel object someone was kicked from

Returns:
The Channel