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.Affiliation
getAffiliation()
org.xmpp.packet.JID
getBareJID()
Void
getResult()
void
readExternal(ObjectInput in)
void
run()
void
writeExternal(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:
writeExternal
in interfaceExternalizable
- Overrides:
writeExternal
in classMUCRoomTask<Void>
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Overrides:
readExternal
in classMUCRoomTask<Void>
- Throws:
IOException
ClassNotFoundException
-
-