1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-26 08:12:05 +01:00
Smack/core
Florian Schmaus fcc8414a92 "not connected" is now a checked Exception thrown by sendPacket()
There is a unsolveable race condition between the connection state and
sendPacket(), i.e. the connection could go down, right after the
method calling sendPacket is called, but before sendPacket() is
invoked. Before this change, sendPacket() has thrown an unchecked
IllegalStateException, which could be ignored by the Smack user, who
would also not notice the race condition. We have decided to throw a
checked Exception in this case now, to make the Smack user aware of
this situation.

SMACK-426
2014-03-19 15:56:41 +01:00
..
src "not connected" is now a checked Exception thrown by sendPacket() 2014-03-19 15:56:41 +01:00
.gitignore Add initializer tests and move classpath files 2014-02-15 22:12:12 +01:00
build.gradle Reworked compression-jzlib and compressionHandlers 2014-03-10 10:20:52 +01:00