|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjerklib.events.impl.NickChangeEventImpl
public class NickChangeEventImpl
NickChangeEvent
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface jerklib.events.IRCEvent |
---|
IRCEvent.Type |
Constructor Summary | |
---|---|
NickChangeEventImpl(String rawEventData,
Session session,
String oldNick,
String newNick,
String hostName,
String userName)
|
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 |
getRawEventData()
Returns the raw IRC data that makes up this event |
Session |
getSession()
Gets session for connection |
IRCEvent.Type |
getType()
Used to find out the exact type of event the IRCEvent object is. |
String |
getUserName()
Get the username of the user who changed their nick |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NickChangeEventImpl(String rawEventData, Session session, String oldNick, String newNick, String hostName, String userName)
Method Detail |
---|
public final String getOldNick()
NickChangeEvent
getOldNick
in interface NickChangeEvent
public final String getNewNick()
NickChangeEvent
getNewNick
in interface NickChangeEvent
public final IRCEvent.Type getType()
IRCEvent
getType
in interface IRCEvent
public final String getRawEventData()
IRCEvent
getRawEventData
in interface IRCEvent
public final Session getSession()
IRCEvent
getSession
in interface IRCEvent
public String getHostName()
NickChangeEvent
getHostName
in interface NickChangeEvent
public String getUserName()
NickChangeEvent
getUserName
in interface NickChangeEvent
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |