|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.protocol.irc.UserInfo
public class UserInfo
Represents the informations we get from a user when we use WHOIS
| Constructor Summary | |
|---|---|
UserInfo(String nickName,
String login,
String hostname)
|
|
| Method Summary | |
|---|---|
void |
addJoinedChatRoom(String chatRoom)
Adds a chat room to the list of chat rooms joined by this user. |
void |
clearJoinedChatRoom()
Clears the list of joined chat rooms. |
String |
getHostname()
Returns the host name of this user. |
long |
getIdle()
Returns the time from which this user is idle. |
List<String> |
getJoinedChatRooms()
The list of chat rooms that this user has joined. |
String |
getLogin()
Returns the login of this user. |
String |
getNickName()
Returns the nickname of this user. |
String |
getServerInfo()
Returns the server info. |
boolean |
isIrcOp()
Returns TRUE if this user is an IRC operator and false otherwise. |
void |
removeJoinedChatRoom(String chatRoom)
Removes a chat room from the list of joined chat rooms. |
protected void |
setIdle(long idle)
Set the idle time for this user. |
protected void |
setIrcOp(boolean isIrcOp)
Set if this user is an IRC operator. |
protected void |
setServerInfo(String serverInfo)
Set the information for the server |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserInfo(String nickName,
String login,
String hostname)
nickName - login - hostname - | Method Detail |
|---|
public void addJoinedChatRoom(String chatRoom)
chatRoom - the name of the chat room we want to add to the listpublic void removeJoinedChatRoom(String chatRoom)
chatRoom - the chat room we want to remove.public void clearJoinedChatRoom()
public String getHostname()
public long getIdle()
public List<String> getJoinedChatRooms()
public String getLogin()
public String getNickName()
public boolean isIrcOp()
public String getServerInfo()
protected void setIdle(long idle)
idle - the idle time of this userprotected void setIrcOp(boolean isIrcOp)
isIrcOp - TRUE to indicate that the user is an IRC operator and
FALSE otherwiseprotected void setServerInfo(String serverInfo)
serverInfo - the information for the server
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||