Smack

org.jivesoftware.smackx.packet
Class MUCUser.Status

java.lang.Object
  extended by org.jivesoftware.smackx.packet.MUCUser.Status
Enclosing class:
MUCUser

public static class MUCUser.Status
extends Object

Status code assists in presenting notification messages. The following link provides the list of existing error codes (@link http://www.jabber.org/jeps/jep-0045.html#errorstatus).

Author:
Gaston Dombiak

Constructor Summary
MUCUser.Status(String code)
          Creates a new instance of Status with the specified code.
 
Method Summary
 String getCode()
          Returns the code that uniquely identifies the reason of the error.
 String toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MUCUser.Status

public MUCUser.Status(String code)
Creates a new instance of Status with the specified code.

Parameters:
code - the code that uniquely identifies the reason of the error.
Method Detail

getCode

public String getCode()
Returns the code that uniquely identifies the reason of the error. The code assists in presenting notification messages.

Returns:
the code that uniquely identifies the reason of the error.

toXML

public String toXML()

Smack

Copyright © 2003-2007 Jive Software.