org.jivesoftware.xiff.data.muc
class MUCUserExtension
Object
|
+--org.jivesoftware.xiff.data.XMLStanza
|
+--org.jivesoftware.xiff.data.Extension
|
+--org.jivesoftware.xiff.data.muc.MUCBaseExtension
|
+--org.jivesoftware.xiff.data.muc.MUCUserExtension
Implemented Interfaces: IExtensionclass MUCUserExtension extends MUCBaseExtension
Implements the base MUC user protocol schema from JEP-0045 for multi-user chat.
- Author:Sean Treadway
- Since:2.0.0
Fields inherited from class org.jivesoftware.xiff.data.XMLStanza
Property Summary
The from property for invite and decline action types
The jid property for destroy the action type
Property to use if the concerned room is password protected
The reason for the invite/decline/destroy
Property used to add or retrieve a status code describing the condition that occurs.
Property that contains some text with a description of a condition.
The to property for invite and decline action types
The type of user extension this is
Method Summary
Use this extension to decline an invitation
Called when data is retrieved from the XMLSocket, use this method to extract any state into internal state.
Use this extension to destroy a room
Use this extension to invite another user
Methods inherited from class org.jivesoftware.xiff.data.muc.MUCBaseExtension
Methods inherited from class org.jivesoftware.xiff.data.XMLStanza
Field Documentation
Property Documentation
password
public password: String (read, write)
Property to use if the concerned room is password protected
statusCode
public statusCode: Number (read, write)
Property used to add or retrieve a status code describing the condition that occurs.
statusMessage
public statusMessage: String (read, write)
Property that contains some text with a description of a condition.
Constructor Documentation
Method Documentation
decline
public function decline (
to: String,
from: String,
reason: String)
from: String,
reason: String)
Use this extension to decline an invitation
deserialize
public function deserialize (
node: XMLNode): Boolean
Called when data is retrieved from the XMLSocket, use this method to extract any state into internal state.
- Overrides:
- Parameters:
node (XMLNode) The node that should be used as the data container.
getElementName
public function getElementName (
): String
- Specified by:getElementName in interface org.jivesoftware.xiff.data.IExtension
getNS
public function getNS (
): String
- Specified by:getNS in interface org.jivesoftware.xiff.data.IExtension
invite
public function invite (
to: String,
from: String,
reason: String)
from: String,
reason: String)
Use this extension to invite another user
- MUCUserExtension.as, Last Modified: 3/10/2005 10:12:56 PM