jerklib.events
Interface NoticeEvent

All Superinterfaces:
IRCEvent
All Known Implementing Classes:
NoticeEventImpl

public interface NoticeEvent
extends IRCEvent

NoticeIRCEvent - the event for notices from the server

Author:
mohadib

Nested Class Summary
 
Nested classes/interfaces inherited from interface jerklib.events.IRCEvent
IRCEvent.Type
 
Method Summary
 String byWho()
          Gets who sent the notice event
 Channel getChannel()
          If this is a Channel notice this will return the Channel
 String getNoticeMessage()
          returns notice message
 String toWho()
          If this notice is sent to a user this will return who
 
Methods inherited from interface jerklib.events.IRCEvent
getRawEventData, getSession, getType
 

Method Detail

getNoticeMessage

String getNoticeMessage()
returns notice message

Returns:
notice message

byWho

String byWho()
Gets who sent the notice event

Returns:
who

toWho

String toWho()
If this notice is sent to a user this will return who

Returns:
who

getChannel

Channel getChannel()
If this is a Channel notice this will return the Channel

Returns:
Channel
See Also:
Channel