Class AddAffiliation
- java.lang.Object
-
- org.jivesoftware.openfire.muc.cluster.MUCRoomTask<Void>
-
- org.jivesoftware.openfire.muc.cluster.AddAffiliation
-
- All Implemented Interfaces:
Externalizable,Serializable,Runnable,ClusterTask<Void>
public class AddAffiliation extends MUCRoomTask<Void>
Task that adds an affiliation for a room in the other cluster nodes.- Author:
- Tom Evans
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AddAffiliation()AddAffiliation(LocalMUCRoom room, String bareJID, MUCRole.Affiliation affiliation)AddAffiliation(LocalMUCRoom room, org.xmpp.packet.JID bareJID, MUCRole.Affiliation affiliation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MUCRole.AffiliationgetAffiliation()org.xmpp.packet.JIDgetBareJID()VoidgetResult()voidreadExternal(ObjectInput in)voidrun()voidwriteExternal(ObjectOutput out)-
Methods inherited from class org.jivesoftware.openfire.muc.cluster.MUCRoomTask
execute, getRoom, isOriginator, setOriginator
-
-
-
-
Constructor Detail
-
AddAffiliation
public AddAffiliation()
-
AddAffiliation
public AddAffiliation(LocalMUCRoom room, org.xmpp.packet.JID bareJID, MUCRole.Affiliation affiliation)
-
AddAffiliation
public AddAffiliation(LocalMUCRoom room, String bareJID, MUCRole.Affiliation affiliation)
-
-
Method Detail
-
getBareJID
public org.xmpp.packet.JID getBareJID()
-
getAffiliation
public MUCRole.Affiliation getAffiliation()
-
getResult
public Void getResult()
-
run
public void run()
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classMUCRoomTask<Void>- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classMUCRoomTask<Void>- Throws:
IOExceptionClassNotFoundException
-
-