|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjerklib.events.impl.MessageEventImpl
public class MessageEventImpl
MessageEvent
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface jerklib.events.IRCEvent |
---|
IRCEvent.Type |
Constructor Summary | |
---|---|
MessageEventImpl(Channel channel,
String hostName,
String message,
String nick,
String rawEventData,
Session session,
IRCEvent.Type type,
String userName)
|
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 |
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()
This will return the username field of the user's hostmask nick!username@host |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageEventImpl(Channel channel, String hostName, String message, String nick, String rawEventData, Session session, IRCEvent.Type type, String userName)
Method Detail |
---|
public Channel getChannel()
MessageEvent
getChannel
in interface MessageEvent
public String getHostName()
MessageEvent
getHostName
in interface MessageEvent
public String getMessage()
MessageEvent
getMessage
in interface MessageEvent
public String getNick()
MessageEvent
getNick
in interface MessageEvent
public String getRawEventData()
IRCEvent
getRawEventData
in interface IRCEvent
public IRCEvent.Type getType()
IRCEvent
getType
in interface IRCEvent
public String getUserName()
MessageEvent
getUserName
in interface MessageEvent
public Session getSession()
IRCEvent
getSession
in interface IRCEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |