public class OccupantAddedEvent extends MUCRoomTask<Void>
| Constructor and Description |
|---|
OccupantAddedEvent() |
OccupantAddedEvent(LocalMUCRoom room,
MUCRole occupant) |
| Modifier and Type | Method and Description |
|---|---|
MUCRole.Affiliation |
getAffiliation() |
String |
getNickname() |
NodeID |
getNodeID() |
org.xmpp.packet.Presence |
getPresence() |
Void |
getResult() |
MUCRole.Role |
getRole() |
org.xmpp.packet.JID |
getRoleAddress() |
org.xmpp.packet.JID |
getUserAddress() |
boolean |
isSendPresence()
Returns true if the room should broadcast presence of the new occupant to occupants
hosted by this cluster node.
|
boolean |
isVoiceOnly() |
void |
readExternal(ObjectInput in) |
void |
run() |
void |
setSendPresence(boolean sendPresence)
Sets if the room should broadcast presence of the new occupant to occupants
hosted by this cluster node.
|
void |
writeExternal(ObjectOutput out) |
execute, getRoom, isOriginator, setOriginatorpublic OccupantAddedEvent()
public OccupantAddedEvent(LocalMUCRoom room, MUCRole occupant)
public org.xmpp.packet.Presence getPresence()
public String getNickname()
public MUCRole.Role getRole()
public MUCRole.Affiliation getAffiliation()
public boolean isVoiceOnly()
public org.xmpp.packet.JID getRoleAddress()
public org.xmpp.packet.JID getUserAddress()
public NodeID getNodeID()
public void setSendPresence(boolean sendPresence)
sendPresence - true if the room should broadcast presence of the new occupant to occupants
hosted by this cluster node.public boolean isSendPresence()
public Void getResult()
public void run()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class MUCRoomTask<Void>IOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class MUCRoomTask<Void>IOExceptionClassNotFoundExceptionCopyright © 2003–2019 Ignite Realtime. All rights reserved.