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, setOriginator
public 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 Externalizable
writeExternal
in class MUCRoomTask<Void>
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class MUCRoomTask<Void>
IOException
ClassNotFoundException
Copyright © 2003–2019 Ignite Realtime. All rights reserved.