Class 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:
    XEP-0363
    • Constructor Detail

      • Component

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

      • 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