Package tigase.vhosts

Interface VHostListener

    • Method Detail

      • setVHostManager

        void setVHostManager​(VHostManagerIfc manager)
        Sets the VHostManager which works on this server installation. The VHostManager allows for accessing vritual domain data.
        Parameters:
        manager - is a reference to VHostManager available on the server installation.
      • handlesLocalDomains

        boolean handlesLocalDomains()
        Indicates whether the component accepts packets to all local domains. The best example would be SM component which usually handles all requests sent to any local domain.
        Returns:
        'true' if the component accepts packets to local domains 'false' otherwise.
      • handlesNonLocalDomains

        boolean handlesNonLocalDomains()
        Indicates whether the component can handle all packets to non-local domains. S2s connection manager component is the best example of the component which handles all requests sent to non-local domains.
        Returns:
        'true' if the component accepts packets to non-local domains 'false' otherwise.
      • handlesNameSubdomains

        boolean handlesNameSubdomains()
        Indicates whether the component can handle packets to 'name' subdomain. Name subdomain is an artificial domain created from the component name and the domain name. The best example would be a 'MUC' component or a 'PubSub' component. They are usually named respectively 'muc' and 'pubsub' and they accept requests sent to domains 'muc.tigase.org' or 'pubsub.tigase.org', even though a local domain is just 'tigase.org'.
        Returns:
        'true' if the component accepts packets to 'name' subdomains 'false' otherwise.