xmpp-service | XMPP Service for Android based on Smack | Android library
kandi X-RAY | xmpp-service Summary
kandi X-RAY | xmpp-service Summary
XMPP Service for Android based on Smack
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Handles a start command
- Connect to the XMPP server
- Set the presence mode
- Create a new XMPP connection
- Compare two XMPP entries
- Compare presence modes
- Asynchronously load all messages in the account
- Set read messages
- Deletes the roster entries from the given addresses
- Sends an un - subscription request to the specified destination
- Sends a message to a remote account
- Rename a contact to an existing XMP JID
- Add a new contact to the RID
- Sets the presence setting
- Called when the connection is successful
- Closes the service
- Executes a database
- Initializes the database
- Handle broadcast event
- On downgrade
- Export the messages into the appropriate content
- Set the values from a cursor
- Sets the presence change
- Authenticates an XMPP connection to the server
- Send a subscription request to the specified destination
- On upgrade
xmpp-service Key Features
xmpp-service Examples and Code Snippets
Community Discussions
Trending Discussions on xmpp-service
QUESTION
I want to implement a real-time chat application. Technologies, database and OS used for this purpose:
- Node.JS
- Ejabberd as XMPP server
- MySQL Database
- React-Native (Front-End)
- OS - Ubuntu 18.04
By far, I have achieved setting up ejabberd and registering the user and getting status from both the API and command line. For example, I can register a user from any other device/system and from the command line too. But the problem with this is that all the data gets stored in ejabberd database on the Ubuntu server due to which there are data duplication chances also I already have a database structured and defined and already have data in that.
In ejabberd tutorials, there is a part where they have mentioned stateless architecture where the ejabberd server manages XMPP part with our database (I didn't understand a lot about this stateless thing). So I need some help, example or tutorials where there is more understanding about the stateless architecture.
Already gone through below mentioned links -
- https://blog.process-one.net/wp-content/uploads/2016/09/designing-a-modern-XMPP-service-with-ejabberd.pdf
- https://www.youtube.com/watch?v=-dqQfCpw98E&feature=youtu.be&t=1m33s (Tutorial where Stateless is mentioned)
- https://www.slideshare.net/mremond/xmpp-academy-2
- https://docs.ejabberd.im/tutorials/ (Official tutorials about ejabberd)
Not-helpful links -
...ANSWER
Answered 2019-Apr-15 at 10:45To configure stateless ejabberd, you need to configure your storage module to store the data using ReST API. Stateless ejabberd was designed for fluux.io service, but you can also implement it yourself using contributions or ejabberd API.
For example, for user based, you can rely on ejabberd_auth_http
: https://github.com/processone/ejabberd-contrib/tree/master/ejabberd_auth_http
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install xmpp-service
You can use xmpp-service like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the xmpp-service component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page