public class Room extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Room.State |
| Constructor and Description |
|---|
Room(long id,
tigase.jaxmpp.core.client.Context context,
tigase.jaxmpp.core.client.BareJID roomJid,
String nickname) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Occupant occupant) |
long |
getId() |
Date |
getLastMessageDate() |
String |
getNickname() |
String |
getPassword() |
Map<String,Occupant> |
getPresences() |
tigase.jaxmpp.core.client.BareJID |
getRoomJid() |
tigase.jaxmpp.core.client.SessionObject |
getSessionObject() |
Room.State |
getState() |
Map<String,Occupant> |
getTempOccupants() |
tigase.jaxmpp.core.client.xmpp.stanzas.Presence |
rejoin() |
void |
remove(Occupant occupant) |
void |
sendMessage(String body) |
void |
setLastMessageDate(Date date) |
void |
setPassword(String password) |
String |
toString() |
public Room(long id,
tigase.jaxmpp.core.client.Context context,
tigase.jaxmpp.core.client.BareJID roomJid,
String nickname)
public void add(Occupant occupant) throws tigase.jaxmpp.core.client.xml.XMLException
tigase.jaxmpp.core.client.xml.XMLExceptionpublic long getId()
public Date getLastMessageDate()
public String getNickname()
public String getPassword()
public tigase.jaxmpp.core.client.BareJID getRoomJid()
public tigase.jaxmpp.core.client.SessionObject getSessionObject()
public Room.State getState()
public tigase.jaxmpp.core.client.xmpp.stanzas.Presence rejoin()
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
tigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic void remove(Occupant occupant) throws tigase.jaxmpp.core.client.xml.XMLException
tigase.jaxmpp.core.client.xml.XMLExceptionpublic void sendMessage(String body) throws tigase.jaxmpp.core.client.xml.XMLException, tigase.jaxmpp.core.client.exceptions.JaxmppException
tigase.jaxmpp.core.client.xml.XMLExceptiontigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic void setLastMessageDate(Date date)
public void setPassword(String password)
Copyright © 2006–2015 Tigase. All rights reserved.