|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjerklib.events.impl.AwayEventImpl
public class AwayEventImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface jerklib.events.AwayEvent |
---|
AwayEvent.EventType |
Nested classes/interfaces inherited from interface jerklib.events.IRCEvent |
---|
IRCEvent.Type |
Constructor Summary | |
---|---|
AwayEventImpl(Session session,
AwayEvent.EventType eventType,
boolean away,
boolean you,
String nick,
String rawEventData)
|
|
AwayEventImpl(String awayMessage,
AwayEvent.EventType eventType,
boolean away,
boolean you,
String nick,
String rawEventData,
Session session)
|
Method Summary | |
---|---|
String |
getAwayMessage()
Returns the away message or an empty String if it was user of lib who caused the event to fire. |
AwayEvent.EventType |
getEventType()
Return the event type that was fired |
String |
getNick()
Get the nick who fired the event. |
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. |
boolean |
isAway()
Whether or not subject of event is away. |
boolean |
isYou()
Whether or not it was user of lib that caused this event |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AwayEventImpl(String awayMessage, AwayEvent.EventType eventType, boolean away, boolean you, String nick, String rawEventData, Session session)
public AwayEventImpl(Session session, AwayEvent.EventType eventType, boolean away, boolean you, String nick, String rawEventData)
Method Detail |
---|
public String getAwayMessage()
AwayEvent
getAwayMessage
in interface AwayEvent
public boolean isAway()
AwayEvent
isAway
in interface AwayEvent
public boolean isYou()
AwayEvent
isYou
in interface AwayEvent
public String getNick()
AwayEvent
getNick
in interface AwayEvent
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 AwayEvent.EventType getEventType()
AwayEvent
getEventType
in interface AwayEvent
AwayEvent.EventType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |