jerklib.events
Interface NickChangeEvent

All Superinterfaces:
IRCEvent
All Known Implementing Classes:
NickChangeEventImpl

public interface NickChangeEvent
extends IRCEvent

NickChangeIRCEvent is created when someone in a channel changes their nick

Author:
mohadib

Nested Class Summary
 
Nested classes/interfaces inherited from interface jerklib.events.IRCEvent
IRCEvent.Type
 
Method Summary
 String getHostName()
          Get the hostname of the user who changed their nick
 String getNewNick()
          getNewNick() returns the new nick of the user
 String getOldNick()
          Returns the previous nick of the user before the change
 String getUserName()
          Get the username of the user who changed their nick
 
Methods inherited from interface jerklib.events.IRCEvent
getRawEventData, getSession, getType
 

Method Detail

getOldNick

String getOldNick()
Returns the previous nick of the user before the change

Returns:
Old nick for user.

getNewNick

String getNewNick()
getNewNick() returns the new nick of the user

Returns:
New nick for user

getUserName

String getUserName()
Get the username of the user who changed their nick

Returns:
username

getHostName

String getHostName()
Get the hostname of the user who changed their nick

Returns:
hostname