Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

Something simple to start "xmpp" with "java"

$
0
0

Hi, I'm spanish, and I have questions about Threads in openfire.

 

 

When I make a java des connection with a smack xmpp server Seller, I have a question and do not fall.

 

 

How do I make a thread that never ends? while (true) in the run?

 

 

What I'm trying to do is "leave a user always on" until the disconnect unwilling

 

 

I've seen chats say an advanced level using listeners, and have a simple run but that the user is always connected.

 

 

As I am confused on the topic threads ha threads that are used in messages (to synchronize messages obviously), the exchange of packets, that is where there is a run and an async task!

 

 

I hope you understand the problem presented before me.

 

 

If the user does not need any thread, and only messages telling me.

 

(Sry my language)

http://www.forosdelweb.com/f45/algo-simple-para-empezar-xmpp-con-java-1089294/


Viewing all articles
Browse latest Browse all 10742

Trending Articles