org.olat.instantMessaging.syncservice
Class AddUserToGroup

java.lang.Object
  extended by org.jivesoftware.smack.packet.Packet
      extended by org.jivesoftware.smack.packet.IQ
          extended by org.olat.instantMessaging.syncservice.AddUserToGroup

public class AddUserToGroup
extends org.jivesoftware.smack.packet.IQ

Description:
Creates an XMPP package with a custom nameSpace and handles the response of it. This is used to talk with the instant messaging server over the same protocol that is also used for chat/groupchat stuff

Initial Date: 04.08.2008

Author:
guido

Nested Class Summary
static class AddUserToGroup.Provider
           
 
Nested classes/interfaces inherited from class org.jivesoftware.smack.packet.IQ
org.jivesoftware.smack.packet.IQ.Type
 
Field Summary
 
Fields inherited from class org.jivesoftware.smack.packet.Packet
ID_NOT_AVAILABLE
 
Constructor Summary
AddUserToGroup()
           
AddUserToGroup(java.lang.String username, java.lang.String groupname)
           
 
Method Summary
 java.lang.String getChildElementXML()
           
 boolean isCreated()
           
 
Methods inherited from class org.jivesoftware.smack.packet.IQ
getType, setType, toXML
 
Methods inherited from class org.jivesoftware.smack.packet.Packet
addExtension, deleteProperty, equals, getError, getExtension, getExtension, getExtensions, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddUserToGroup

public AddUserToGroup(java.lang.String username,
                      java.lang.String groupname)
Parameters:
username -
groupname -

AddUserToGroup

public AddUserToGroup()
Method Detail

getChildElementXML

public java.lang.String getChildElementXML()
Specified by:
getChildElementXML in class org.jivesoftware.smack.packet.IQ

isCreated

public boolean isCreated()