Class OfferModule

    • Constructor Detail

      • OfferModule

        public OfferModule()
    • Method Detail

      • getFeatures

        public java.lang.String[] getFeatures()
        Description copied from interface: Module
        Returns XMPP features offered by module. Features will be returned by Service Discovery.
        array of features or null.
      • getModuleCriteria

        public Criteria getModuleCriteria()
        Description copied from interface: Module
        Returns critera used by Component to select module to handle incoming stanza.
        criteria of selecting module.
      • sendOfferRevoke

        public void sendOfferRevoke​(User user,
                                    Agent toAgent,
                                    java.lang.String reason)
                             throws TigaseStringprepException
        Send revocation of earlier offer to chat to a user.
        user - user which offer is revoked.
        toAgent - agent to send revocation to him.
        reason - free form text explaining the reason the offer was revoked.
        TigaseStringprepException - in case of invalid JID.