|
||||||||||
| 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 AwayEventpublic boolean isAway()
AwayEvent
isAway in interface AwayEventpublic boolean isYou()
AwayEvent
isYou in interface AwayEventpublic String getNick()
AwayEvent
getNick in interface AwayEventpublic String getRawEventData()
IRCEvent
getRawEventData in interface IRCEventpublic Session getSession()
IRCEvent
getSession in interface IRCEventpublic IRCEvent.Type getType()
IRCEvent
getType in interface IRCEventpublic AwayEvent.EventType getEventType()
AwayEvent
getEventType in interface AwayEventAwayEvent.EventType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||