Class Component

java.lang.Object
org.xmpp.component.AbstractComponent
nl.goodbytes.xmpp.xep0363.Component
All Implemented Interfaces:
org.xmpp.component.Component

public class Component extends org.xmpp.component.AbstractComponent
A XMPP component that implements XEP-0363.
Author:
Guus der Kinderen, guus@goodbytes.nl
See Also:
  • Field Details

  • Constructor Details

    • Component

      public Component(String name)
      Instantiates a new component.
      Parameters:
      name - The component name (cannot be null or an empty String).
  • Method Details

    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface org.xmpp.component.Component
      Specified by:
      getDescription in class org.xmpp.component.AbstractComponent
    • getName

      public String getName()
      Specified by:
      getName in interface org.xmpp.component.Component
      Specified by:
      getName in class org.xmpp.component.AbstractComponent
    • discoInfoIdentityCategory

      protected String discoInfoIdentityCategory()
      Overrides:
      discoInfoIdentityCategory in class org.xmpp.component.AbstractComponent
    • discoInfoIdentityCategoryType

      protected String discoInfoIdentityCategoryType()
      Overrides:
      discoInfoIdentityCategoryType in class org.xmpp.component.AbstractComponent
    • discoInfoFeatureNamespaces

      protected String[] discoInfoFeatureNamespaces()
      Overrides:
      discoInfoFeatureNamespaces in class org.xmpp.component.AbstractComponent
    • handleDiscoInfo

      protected org.xmpp.packet.IQ handleDiscoInfo(org.xmpp.packet.IQ iq)
      Overrides:
      handleDiscoInfo in class org.xmpp.component.AbstractComponent
    • handleIQGet

      protected org.xmpp.packet.IQ handleIQGet(org.xmpp.packet.IQ iq) throws Exception
      Overrides:
      handleIQGet in class org.xmpp.component.AbstractComponent
      Throws:
      Exception