|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjerklib.events.impl.CtcpEventImpl
public class CtcpEventImpl
CtcpEvent| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface jerklib.events.IRCEvent |
|---|
IRCEvent.Type |
| Constructor Summary | |
|---|---|
CtcpEventImpl(String ctcpString,
String hostName,
String message,
String nick,
String userName,
String rawEventData,
Channel channel,
Session session)
|
|
| Method Summary | |
|---|---|
Channel |
getChannel()
returns IRCChannel object the PrivMsg occured in |
String |
getCtcpString()
Returns the CTCP query |
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 CtcpEventImpl(String ctcpString,
String hostName,
String message,
String nick,
String userName,
String rawEventData,
Channel channel,
Session session)
| Method Detail |
|---|
public String getCtcpString()
CtcpEvent
getCtcpString in interface CtcpEventpublic Channel getChannel()
MessageEvent
getChannel in interface MessageEventpublic String getHostName()
MessageEvent
getHostName in interface MessageEventpublic String getMessage()
MessageEvent
getMessage in interface MessageEventpublic String getNick()
MessageEvent
getNick in interface MessageEventpublic String getUserName()
MessageEvent
getUserName in interface MessageEventpublic String getRawEventData()
IRCEvent
getRawEventData in interface IRCEventpublic Session getSession()
IRCEvent
getSession in interface IRCEventpublic IRCEvent.Type getType()
IRCEvent
getType in interface IRCEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||