codingteam / horta-hell

Configurable XMPP bot written in Scala based on the Akka framework.
MIT License
15 stars 8 forks source link

New JabberProtocol implementation #408

Open ForNeVeR opened 8 years ago

ForNeVeR commented 8 years ago

We need a JabberProtocol reimplementation or wrapper or component that:

  1. Will grant us throttling on sending every packet to the server (including reconnection attempts and room joins; see #407).
  2. Will not fall apart on problems with room joining; see #377 and #358.
  3. Will provide an exception-safe connection; see #313 and #383.
  4. Will provide an ability to adapt to threading model of the underlying library (I suspect that Smack needs to be used in a single-threaded apartment); remember that we'll want to replace Smack in scope of #410.
  5. Will somewhat abstract the protocol interface, see #309.
  6. Shouldn't be tightly coupled with Akka,
  7. Will be covered by a plenty of tests.
  8. Will not suck.