public class UpdateOccupantRequest extends MUCRoomTask<org.dom4j.Element>
null value is returned. Otherwise the DOM
object representing the new presence of the room occupant is returned.| Constructor and Description |
|---|
UpdateOccupantRequest() |
UpdateOccupantRequest(LocalMUCRoom room,
String nickname,
MUCRole.Affiliation newAffiliation,
MUCRole.Role newRole) |
| Modifier and Type | Method and Description |
|---|---|
MUCRole.Affiliation |
getAffiliation() |
String |
getNickname() |
org.dom4j.Element |
getResult() |
MUCRole.Role |
getRole() |
boolean |
isAffiliationChanged() |
void |
readExternal(ObjectInput in) |
void |
run() |
void |
writeExternal(ObjectOutput out) |
execute, getRoom, isOriginator, setOriginatorpublic UpdateOccupantRequest()
public UpdateOccupantRequest(LocalMUCRoom room, String nickname, MUCRole.Affiliation newAffiliation, MUCRole.Role newRole)
public String getNickname()
public MUCRole.Role getRole()
public MUCRole.Affiliation getAffiliation()
public boolean isAffiliationChanged()
public org.dom4j.Element getResult()
public void run()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class MUCRoomTask<org.dom4j.Element>IOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class MUCRoomTask<org.dom4j.Element>IOExceptionClassNotFoundExceptionCopyright © 2003–2019 Ignite Realtime. All rights reserved.