|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjerklib.events.impl.TopicEventImpl
public class TopicEventImpl
TopicEvent
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface jerklib.events.IRCEvent |
---|
IRCEvent.Type |
Constructor Summary | |
---|---|
TopicEventImpl(String rawEventData,
Session session,
Channel channel,
String topic)
|
Method Summary | |
---|---|
void |
appendToTopic(String topic)
|
boolean |
equals(Object o)
|
Channel |
getChannel()
Gets Channel |
String |
getHostName()
|
String |
getRawEventData()
Returns the raw IRC data that makes up this event |
Session |
getSession()
Gets session for connection |
String |
getSetBy()
Gets who set the topic |
Date |
getSetWhen()
Gets when topic was set |
String |
getTopic()
Gets the topic |
IRCEvent.Type |
getType()
Used to find out the exact type of event the IRCEvent object is. |
int |
hashCode()
|
void |
setSetBy(String setBy)
|
void |
setSetWhen(String setWhen)
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TopicEventImpl(String rawEventData, Session session, Channel channel, String topic)
Method Detail |
---|
public String getTopic()
TopicEvent
getTopic
in interface TopicEvent
public String getHostName()
public String getRawEventData()
IRCEvent
getRawEventData
in interface IRCEvent
public Session getSession()
IRCEvent
getSession
in interface IRCEvent
public IRCEvent.Type getType()
IRCEvent
getType
in interface IRCEvent
public void setSetWhen(String setWhen)
setWhen
- public void setSetBy(String setBy)
setBy
- public String getSetBy()
TopicEvent
getSetBy
in interface TopicEvent
public Date getSetWhen()
TopicEvent
getSetWhen
in interface TopicEvent
public Channel getChannel()
TopicEvent
getChannel
in interface TopicEvent
Channel
public void appendToTopic(String topic)
topic
- public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |