|
||||||||||
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 WhoisEvent
public void setChannelNamesList(List<String> chanNames)
chanNames
- public String getHost()
WhoisEvent
getHost
in interface WhoisEvent
public String getUser()
WhoisEvent
getUser
in interface WhoisEvent
public String getRealName()
WhoisEvent
getRealName
in interface WhoisEvent
public String getNick()
WhoisEvent
getNick
in interface WhoisEvent
public boolean isAnOperator()
WhoisEvent
isAnOperator
in interface WhoisEvent
public boolean isIdle()
WhoisEvent
isIdle
in interface WhoisEvent
public long secondsIdle()
WhoisEvent
secondsIdle
in interface WhoisEvent
public void setSecondsIdle(int secondsIdle)
secondsIdle
- public Date signOnTime()
WhoisEvent
signOnTime
in interface WhoisEvent
public void setSignOnTime(int signOnTime)
signOnTime
- public String whoisServer()
WhoisEvent
whoisServer
in interface WhoisEvent
public void setWhoisServer(String whoisServer)
whoisServer
- public String whoisServerInfo()
WhoisEvent
whoisServerInfo
in interface WhoisEvent
public void setWhoisServerInfo(String whoisServerInfo)
whoisServerInfo
- public String getRawEventData()
IRCEvent
getRawEventData
in interface IRCEvent
public void appendRawEventData(String rawEventData)
rawEventData
- public Session getSession()
IRCEvent
getSession
in interface IRCEvent
public IRCEvent.Type getType()
IRCEvent
getType
in interface IRCEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |