org.olat.instantMessaging.syncservice
Class GroupCreate

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

public class GroupCreate
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 GroupCreate.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
GroupCreate()
           
GroupCreate(java.lang.String groupId, java.lang.String groupname, java.lang.String description)
           
 
Method Summary
 java.lang.String getChildElementXML()
           
 boolean isCreated()
           
 void setCreated(boolean success)
           
 
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

GroupCreate

public GroupCreate(java.lang.String groupId,
                   java.lang.String groupname,
                   java.lang.String description)
Parameters:
groupId - unique group identifier
groupname - display name
description - optional description

GroupCreate

public GroupCreate()
Method Detail

getChildElementXML

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

setCreated

public void setCreated(boolean success)

isCreated

public boolean isCreated()