org.jivesoftware.xiff.data.rpc

class RPCExtension

Object | +--org.jivesoftware.xiff.data.XMLStanza | +--org.jivesoftware.xiff.data.Extension | +--org.jivesoftware.xiff.data.rpc.RPCExtension
Implemented Interfaces: IExtension, ISerializable

class RPCExtension extends Extension

Field Summary

public static ELEMENT: String
public static NS: String
Static class variables to be overridden in subclasses;
Fields inherited from class org.jivesoftware.xiff.data.XMLStanza

Property Summary

public fault: Object (read-only)
The object containing the fault of the remote procedure call. This object could have any properties, as fault results are only structurally defined.
public faultCode: Number (read-only)
A common result from most RPC servers to describe a fault
public faultString: String (read-only)
A common result from most RPC servers to describe a fault
public isFault: Boolean (read-only)
Check this if property if you wish to determine the remote procedure call produced an error. If the XMPP stanza never made it to the RPC service, then the error would be on the stanza object instead of this extension.
public result: Array (read-only)
The result of this remote procedure call. It can contain elements of any type.

Method Summary

public call ( methodName: String, params: Array ): Void
Place the remote call. This method serializes the remote procedure call to XML. The call will be made on the remote machine when the stanza containing this extension is sent to the server. If this extension is being returned, then check the result property instead.
public deserialize ( node: XMLNode ): Boolean
Interface method, returning the namespace for this extension
public static enable ( ): Void
Performs the registration of this extension into the extension registry.
public getElementName ( ): String
Interface method, returning the namespace for this extension
public getNS ( ): String
Interface method, returning the namespace for this extension
public serialize ( parent: XMLNode ): Boolean
Interface method, returning the namespace for this extension
Methods inherited from class org.jivesoftware.xiff.data.Extension
Methods inherited from class org.jivesoftware.xiff.data.XMLStanza

Field Documentation

ELEMENT

public static var ELEMENT: String

    Property Documentation


    Method Documentation


    The documentation was generated from the following file:
    • RPCExtension.as, Last Modified: 3/10/2005 10:13:18 PM