Uses of Class
com.realtime.xmpp.types.XmppError

Packages that use XmppError
com.realtime.xmpp.dom   
com.realtime.xmpp.examples   
com.realtime.xmpp.tools   
com.realtime.xmpp.types   
 

Uses of XmppError in com.realtime.xmpp.dom
 

Methods in com.realtime.xmpp.dom that return XmppError
 XmppError DomXmppTool.rosterAdd(JID account, JID contact, java.lang.String sContactNick, java.lang.String sSubscription, java.lang.String sGroup, java.lang.String sGroupTail)
          Insert a new contact into a roster.
 XmppError DomXmppTool.rosterRemove(JID principal, JID contact, java.lang.String sGroup, boolean bTail)
          Remove a contact from an accounts roster.
 XmppError DomXmppTool.createAccount(JID account, java.lang.String sPassword)
          Create a new account with the given account name and password.
protected static XmppError DomXmppTool.interpretResult(org.dom4j.Element response)
          Figure out the result from an XMPP packet.
 

Uses of XmppError in com.realtime.xmpp.examples
 

Methods in com.realtime.xmpp.examples that return XmppError
 XmppError TestComponent.createAccounts(java.lang.String sDomain, int cAccounts, int cSubscriptions)
          Create a number of accounts and for each do a set number of subscriptions.
 

Uses of XmppError in com.realtime.xmpp.tools
 

Methods in com.realtime.xmpp.tools that return XmppError
 XmppError RosterTool.rosterRemove(JID principal, JID contact, java.lang.String sGroup, boolean bTail)
          Remove a contact from an accounts roster.
 XmppError RosterTool.rosterAdd(JID account, JID contact, java.lang.String sContactNick, java.lang.String sSubscription, java.lang.String sGroup, java.lang.String sGroupTail)
          Insert a new contact into a roster.
 XmppError AccountTool.createAccount(JID account, java.lang.String sPassword)
          Create a new account with the given account name and password.
 

Uses of XmppError in com.realtime.xmpp.types
 

Fields in com.realtime.xmpp.types declared as XmppError
static XmppError XmppError.REDIRECT
          Whereas the HTTP spec contains eight different codes for redirection, XMPP contains only one (which is intended to stand for any redirection error).
static XmppError XmppError.BAD_REQUEST
          Code 400 is used to inform a sender that a request could not be understood by the recipient because it cannot be understood.
static XmppError XmppError.UNAUTHORIZED
          Code 401 is used to inform nodes that they have provided incorrect authorization information, e.g., an incorrect password or unknown username when attempting to authenticate with a host.
static XmppError XmppError.PAYMENT_REQUIRED
          Code 402 is being reserved for future use and is not in use at this time.
static XmppError XmppError.FORBIDDEN
          Code 403 is used to inform an entity that its request was understood but that the recipient is refusing to fulfill it, e.g., if a node attempts to set information (e.g., preferences or profile information) associated with another node.
static XmppError XmppError.NOT_FOUND
          Code 404 is used to inform a sender that no recipient was found matching the JID to which an XML chunk was sent, e.g., if a sender has attempted to send a message to a JID that does not exist.
static XmppError XmppError.NOT_ALLOWED
          Code 405 is used when the action requested is not allowed for the JID identified by the 'from' address, e.g., if a node attempts to set the time or version of a host.
static XmppError XmppError.NOT_ACCEPTABLE
          Code 406 is used when an XML chunk is for some reason not acceptable to a host or other entity.
static XmppError XmppError.REGISTRATION_REQUIRED
          Code 407 is used when a message or request is sent to a service that requires prior registration, e.g., if a node attempts to send a message through a gateway to a foreign messaging system without having first registered with that gateway.
static XmppError XmppError.REQUEST_TIMEOUT
          Code 408 is returned when a recipient does not produce a response within the time that the sender was prepared to wait.
static XmppError XmppError.CONFLICT
          Code 409 is returned when there is a conflict between two resources, e.g., if a user attempts to join a groupchat room but someone else with the same nickname is already in the room.
static XmppError XmppError.INTERNAL_SERVER_ERROR
          Code 500 is used when a host or service encounters an unexpected condition which prevents it from handling an XML chunk from a sender, e.g., if an authentication request is not handled by a host because the password could not be retrieved or if password storage fails when a node attempts to register with a host.
static XmppError XmppError.NOT_IMPLEMENTED
          Code 501 is used when the recipient does not support the functionality being requested by a sender, e.g., if a node sends an authentication request that does not contain the elements defined by at least one of the accepted authentication methods or when a node attempts to register with a host that does not allow registration.
static XmppError XmppError.REMOTE_SERVER_ERROR
          Code 502 is used when delivery of an XML chunk fails because of an inability to reach the intended remote host or service.
static XmppError XmppError.SERVICE_UNAVAILABLE
          Code 503 is used when a sender requests a service that a recipient is currently unable to handle, usually for temporary reasons, e.g., if a sender attempts to send a message to a recipient that is offline but the recipient's host is not running an offline message storage service.
static XmppError XmppError.REMOTE_SERVER_TIMEOUT
          Code 504 is used when attempts to contact a remote host timeout, e.g., if an incorrect hostname is specified.
protected static XmppError[] XmppError.m_errors
          All our known error codes.
 

Methods in com.realtime.xmpp.types that return XmppError
static XmppError XmppError.getInstance(int nCode)
          Provide an XmppError instance corresponding to the error code.
 



Copyright © 2002,2003 Real Time Entertainment Group, LLC. All Rights Reserved.