|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjerklib.events.impl.WhoisEventImpl
public class WhoisEventImpl
WhoisEvent| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface jerklib.events.IRCEvent |
|---|
IRCEvent.Type |
| Constructor Summary | |
|---|---|
WhoisEventImpl(String nick,
String realName,
String user,
String host,
String rawEventData,
Session session)
|
|
| Method Summary | |
|---|---|
void |
appendRawEventData(String rawEventData)
|
List<String> |
getChannelNames()
A list of channel names the user is joined to |
String |
getHost()
the hostname of the whoised user |
String |
getNick()
Gets the nick the whois event is about |
String |
getRawEventData()
Returns the raw IRC data that makes up this event |
String |
getRealName()
gets real name of whoised user |
Session |
getSession()
Gets session for connection |
IRCEvent.Type |
getType()
Used to find out the exact type of event the IRCEvent object is. |
String |
getUser()
gets username of whoised user |
boolean |
isAnOperator()
not impled |
boolean |
isIdle()
returns true if person is idle , else false |
long |
secondsIdle()
returns how many seconds person has been idle |
void |
setChannelNamesList(List<String> chanNames)
|
void |
setSecondsIdle(int secondsIdle)
|
void |
setSignOnTime(int signOnTime)
|
void |
setWhoisServer(String whoisServer)
|
void |
setWhoisServerInfo(String whoisServerInfo)
|
Date |
signOnTime()
returns sign on time |
String |
whoisServer()
The hostname of the server who answered the whois query |
String |
whoisServerInfo()
Gets whois server information |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WhoisEventImpl(String nick,
String realName,
String user,
String host,
String rawEventData,
Session session)
| Method Detail |
|---|
public List<String> getChannelNames()
WhoisEvent
getChannelNames in interface WhoisEventpublic void setChannelNamesList(List<String> chanNames)
chanNames - public String getHost()
WhoisEvent
getHost in interface WhoisEventpublic String getUser()
WhoisEvent
getUser in interface WhoisEventpublic String getRealName()
WhoisEvent
getRealName in interface WhoisEventpublic String getNick()
WhoisEvent
getNick in interface WhoisEventpublic boolean isAnOperator()
WhoisEvent
isAnOperator in interface WhoisEventpublic boolean isIdle()
WhoisEvent
isIdle in interface WhoisEventpublic long secondsIdle()
WhoisEvent
secondsIdle in interface WhoisEventpublic void setSecondsIdle(int secondsIdle)
secondsIdle - public Date signOnTime()
WhoisEvent
signOnTime in interface WhoisEventpublic void setSignOnTime(int signOnTime)
signOnTime - public String whoisServer()
WhoisEvent
whoisServer in interface WhoisEventpublic void setWhoisServer(String whoisServer)
whoisServer - public String whoisServerInfo()
WhoisEvent
whoisServerInfo in interface WhoisEventpublic void setWhoisServerInfo(String whoisServerInfo)
whoisServerInfo - public String getRawEventData()
IRCEvent
getRawEventData in interface IRCEventpublic void appendRawEventData(String rawEventData)
rawEventData - public 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 | |||||||||