Class AddMember
- java.lang.Object
-
- org.jivesoftware.openfire.muc.cluster.MUCRoomTask<Void>
-
- org.jivesoftware.openfire.muc.cluster.AddMember
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Runnable
,ClusterTask<Void>
public class AddMember extends MUCRoomTask<Void>
Task that adds a new member to the room in the other cluster nodes.- Author:
- Gaston Dombiak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AddMember()
AddMember(LocalMUCRoom room, String bareJID, String nickname)
AddMember(LocalMUCRoom room, org.xmpp.packet.JID bareJID, String nickname)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xmpp.packet.JID
getBareJID()
String
getNickname()
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
-
AddMember
public AddMember()
-
AddMember
public AddMember(LocalMUCRoom room, org.xmpp.packet.JID bareJID, String nickname)
-
AddMember
public AddMember(LocalMUCRoom room, String bareJID, String nickname)
-
-
Method Detail
-
getBareJID
public org.xmpp.packet.JID getBareJID()
-
getNickname
public String getNickname()
-
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
-
-