rcollier
1b651d4939
SMACK-534 Refactored all System.out/err and printStackTrace calls with appropriate Java util logging calls.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_4_0@13887 b35dd754-fafc-0310-a699-88a17e54d16e
2014-02-02 22:39:07 +00:00
Florian Schmaus
49573866ab
SMACK-462 Use getInstace() ConnectionCreationListener
...
Prevent duplicate instances of a manager by using it's getInstance()
method instead of the manager's constructor.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_2@13800 b35dd754-fafc-0310-a699-88a17e54d16e
2013-11-03 21:49:58 +00:00
Florian Schmaus
b16f34f61e
SMACK-458 Managers should be kept on disconnects
...
Smack's Managers should not remove itself when the connection is closed
or should re-add themselves if the connection get reconnected.
This should also fix some NPE's.
We are currently going with two different designs of Manager: 1. The one
with WeakReferences/WeakHashMaps (SDM, EntityCapsManager) and 2. the one
where the managers remove their listeners on connectionClosed() *and*
connectionClosedOnError(), and later add their listeners on
reconnectionSuccessful(). The first design has the Connection instance
only weak referenced. The other design does reference Connection
strongly (e.g. the 'managers' map in IBBManager/S5BManager), but removes
this references when connectionClosed(onError)() is called.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_2@13788 b35dd754-fafc-0310-a699-88a17e54d16e
2013-10-26 11:17:16 +00:00
rcollier
b4432d7627
SMACK-352 Changed or removed copyright notices that should not have been attributed to Jive Software.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13604 b35dd754-fafc-0310-a699-88a17e54d16e
2013-04-07 19:15:32 +00:00
Florian Schmaus
ebfe3e69ed
SMACK-382 Prevent memory leak in AdHocCommandManager by only creating the Thread if it's actually needed
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13578 b35dd754-fafc-0310-a699-88a17e54d16e
2013-03-22 18:14:15 +00:00
Florian Schmaus
21be8c55ee
SMACK-361 Added support for Entity Capabilities.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13560 b35dd754-fafc-0310-a699-88a17e54d16e
2013-03-18 08:50:48 +00:00
Florian Schmaus
b907d606d9
SMACK-352 removed duplicated headers, fixed svn keywords
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13459 b35dd754-fafc-0310-a699-88a17e54d16e
2013-02-07 19:10:22 +00:00
Florian Schmaus
6bbf425157
SMACK-352
...
- fixed wrong header
- replaced old Jive license with Apache 2.0 license
- added license header to files without
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13457 b35dd754-fafc-0310-a699-88a17e54d16e
2013-02-07 14:19:47 +00:00
rcollier
e08c8afe44
SMACK-363 Applied code cleanup patches for many generics related issues.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13325 b35dd754-fafc-0310-a699-88a17e54d16e
2012-10-26 10:47:55 +00:00
Günther Niess
127319a821
SMACK-279: The XMPPConnection extends the new abstract Connection class
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11613 b35dd754-fafc-0310-a699-88a17e54d16e
2010-02-09 11:55:56 +00:00
Matt Tucker
ac2c9b09dc
A packet reply timeout can be set which applies to all methods (from Sid).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10950 b35dd754-fafc-0310-a699-88a17e54d16e
2008-12-29 18:35:35 +00:00
Matt Tucker
afe2b9b584
Timeout should only apply to remote commands.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10947 b35dd754-fafc-0310-a699-88a17e54d16e
2008-12-16 23:00:45 +00:00
Matt Tucker
1bdacfb65e
Added method so that timeout can be specified when executing ad-hoc command.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10946 b35dd754-fafc-0310-a699-88a17e54d16e
2008-12-16 22:33:57 +00:00
Matt Tucker
e6f29ee641
Added ability to register a local command using a factory. Improved ad-hoc command tests.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10905 b35dd754-fafc-0310-a699-88a17e54d16e
2008-11-18 23:12:10 +00:00
Matt Tucker
0540d2e38a
Cleanup.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10881 b35dd754-fafc-0310-a699-88a17e54d16e
2008-11-13 21:53:18 +00:00
Matt Tucker
18d38845e9
Javadoc cleanup.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10879 b35dd754-fafc-0310-a699-88a17e54d16e
2008-11-13 18:34:03 +00:00
Matt Tucker
334838d28e
HTML and comment cleanup. Small API refactors. Moved use of StringBuffer to StringBuilder.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10865 b35dd754-fafc-0310-a699-88a17e54d16e
2008-11-03 16:28:57 +00:00
Matt Tucker
b7e2c5b108
Fixed Javadoc warnings.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10858 b35dd754-fafc-0310-a699-88a17e54d16e
2008-10-31 04:04:15 +00:00
Matt Tucker
d42b40496d
Formatting fixes.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10848 b35dd754-fafc-0310-a699-88a17e54d16e
2008-10-24 05:30:21 +00:00
Matt Tucker
181e5649fc
Make the reaper thread a daemon thread; only start it when at least one session is created.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10847 b35dd754-fafc-0310-a699-88a17e54d16e
2008-10-24 05:22:26 +00:00
Gaston Dombiak
8d07e07379
Initial implementation of ad-hoc commands. SMACK-242
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10453 b35dd754-fafc-0310-a699-88a17e54d16e
2008-05-28 18:59:52 +00:00