public class Occupant extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Occupant.Presence |
| Constructor and Description |
|---|
Occupant(String nickname,
tigase.xmpp.JID occupantJID,
tigase.muc.Role role,
tigase.muc.Affiliation affiliation,
tigase.xml.Element presence) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addOccupant(tigase.xmpp.JID occupantJID,
tigase.xml.Element presenceEl) |
tigase.muc.Affiliation |
getAffiliation() |
tigase.xml.Element |
getBestPresence() |
Occupant.Presence |
getBestPresenceInt() |
String |
getNickname() |
tigase.xmpp.BareJID |
getOccupantJID() |
Collection<tigase.xmpp.JID> |
getOccupants() |
tigase.muc.Role |
getRole() |
boolean |
isEmpty() |
void |
removeOccupant(tigase.xmpp.JID occupantJID) |
void |
setAffiliation(tigase.muc.Affiliation affiliation) |
void |
setNickname(String nickname) |
void |
setRole(tigase.muc.Role role) |
public Occupant(String nickname, tigase.xmpp.JID occupantJID, tigase.muc.Role role, tigase.muc.Affiliation affiliation, tigase.xml.Element presence)
public tigase.xmpp.BareJID getOccupantJID()
public Collection<tigase.xmpp.JID> getOccupants()
public boolean addOccupant(tigase.xmpp.JID occupantJID,
tigase.xml.Element presenceEl)
public void removeOccupant(tigase.xmpp.JID occupantJID)
public boolean isEmpty()
public String getNickname()
public void setNickname(String nickname)
public tigase.muc.Affiliation getAffiliation()
public void setAffiliation(tigase.muc.Affiliation affiliation)
public tigase.muc.Role getRole()
public void setRole(tigase.muc.Role role)
public tigase.xml.Element getBestPresence()
public Occupant.Presence getBestPresenceInt()
Copyright © 2017 Tigase. All rights reserved.