Packageorg.igniterealtime.xiff.data.events
Classpublic class MessageEventExtension
ImplementsIExtension

OBSOLETE

See also

http://xmpp.org/extensions/xep-0022.html


Public Methods
 MethodDefined by
  
deserialize(node:XMLNode):Boolean
Called when data is retrieved from the XMLSocket, use this method to extract any state into internal state.
MessageEventExtension
  
getElementName():String
MessageEventExtension
  
getNS():String
MessageEventExtension
  
serialize(parentNode:XMLNode):Boolean
Called when the library need to retrieve the state of the instance.
MessageEventExtension
Method detail
deserialize()method
public function deserialize(node:XMLNode):Boolean

Called when data is retrieved from the XMLSocket, use this method to extract any state into internal state.

Parameters
node:XMLNode — (XMLNode) The node that should be used as the data container.

Returns
Boolean — On success, return true.
getElementName()method 
public function getElementName():String

Returns
String
getNS()method 
public function getNS():String

Returns
String
serialize()method 
public function serialize(parentNode:XMLNode):Boolean

Called when the library need to retrieve the state of the instance. If the instance manages its own state, then the state should be copied into the XMLNode passed. If the instance also implements INodeProxy, then the parent should be verified against the parent XMLNode passed to determine if the serialization is in the same namespace.

Parameters
parentNode:XMLNode — (XMLNode) The container of the XML.

Returns
Boolean — On success, return true.