public class NoticeEvent extends IRCEvent
IRCEvent.Type
Constructor and Description |
---|
NoticeEvent(java.lang.String rawEventData,
Session session,
java.lang.String message,
java.lang.String toWho,
java.lang.String byWho,
Channel channel) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
byWho()
Gets who sent the notice event
|
Channel |
getChannel()
If this is a Channel notice this will return the Channel
|
java.lang.String |
getNoticeMessage()
returns notice message
|
java.lang.String |
toWho()
If this notice is sent to a user this will return who
|
getRawEventData, getSession, getType, toString
arg, args, command, getHostName, getNick, getUserName, numeric, prefix
public java.lang.String getNoticeMessage()
public java.lang.String byWho()
public Channel getChannel()
Channel
public java.lang.String toWho()