jerklib.events
Interface MessageEvent

All Superinterfaces:
IRCEvent
All Known Subinterfaces:
CtcpEvent, DccAcceptEvent, DccChatEvent, DccEvent, DccResumeEvent, DccSendEvent, DccUnknownEvent
All Known Implementing Classes:
CtcpEventImpl, DccAcceptEventImpl, DccChatEventImpl, DccResumeEventImpl, DccSendEventImpl, DccUnknownEventImpl, MessageEventImpl

public interface MessageEvent
extends IRCEvent

Base interface for all PRIVMSGs

Author:
mohadib

Nested Class Summary
 
Nested classes/interfaces inherited from interface jerklib.events.IRCEvent
IRCEvent.Type
 
Method Summary
 Channel getChannel()
          returns IRCChannel object the PrivMsg occured in
 String getHostName()
          getHostName() returns a string that represents the host of the creator of this event
 String getMessage()
          getMessage() returns the message part of the event
 String getNick()
          returns the nick of the person who created the PrivMsgIRCEvent
 String getUserName()
          This will return the username field of the user's hostmask nick!username@host
 
Methods inherited from interface jerklib.events.IRCEvent
getRawEventData, getSession, getType
 

Method Detail

getChannel

Channel getChannel()
returns IRCChannel object the PrivMsg occured in

Returns:
the Channel object

getNick

String getNick()
returns the nick of the person who created the PrivMsgIRCEvent

Returns:
the nick

getUserName

String getUserName()
This will return the username field of the user's hostmask nick!username@host

Returns:
the login field

getHostName

String getHostName()
getHostName() returns a string that represents the host of the creator of this event

Returns:
the host name

getMessage

String getMessage()
getMessage() returns the message part of the event

Returns:
the message